From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 00:29:09 2010 Return-Path: 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 7BC7F106566C for ; Sun, 3 Jan 2010 00:29:09 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 35D408FC0A for ; Sun, 3 Jan 2010 00:29:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NRELA-00019y-Un for freebsd-current@freebsd.org; Sun, 03 Jan 2010 01:29:04 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 01:29:04 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 01:29:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: martinko Date: Sun, 03 Jan 2010 01:28:41 +0100 Lines: 25 Message-ID: References: <4AC141B0.4090705@delphij.net> 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: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20100102 SeaMonkey/2.0.1 In-Reply-To: Sender: news Subject: Re: [PATCH] Shutdown cooloff feature X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 00:29:09 -0000 Robert Watson wrote: > > On Mon, 28 Sep 2009, Xin LI wrote: > >> I'm not sure if anyone would find this useful: > > Along similar lines, if we're looking at frequent admin errors: I've > noticed an increasing number of people using "reboot" rather than > "shutdown -r NOW" on the basis that on Linux (and perhaps other > systems), reboot gives a clean application shutdown. I wonder if we > should be making a similar change -- a lot of people may be risky data > corruption/loss due to unclean application shutdown as a result of that > misunderstanding. Sorry for a too late note, I'm just catching up, however .. IIRC Solaris for instance differentiate similarly to FreeBSD between shutdown, reboot and others. So we're not alone. :) And I've always considered it a good thing -- shutdown is clean/correct and higher level then reboot & co. OT: I've noticed that PC-BSD has been shipping for ages with reboot instead of shutdown. That is default in KDE and comes from Linux. M. From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 01:28:28 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A5BD1065670; Sun, 3 Jan 2010 01:28:28 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 39AB58FC0A; Sun, 3 Jan 2010 01:28:28 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o031SRss070689; Sat, 2 Jan 2010 20:28:27 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o031SRwr070677; Sun, 3 Jan 2010 01:28:27 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 3 Jan 2010 01:28:27 GMT Message-Id: <201001030128.o031SRwr070677@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 01:28:28 -0000 TB --- 2010-01-03 00:18:35 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-03 00:18:35 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2010-01-03 00:18:35 - cleaning the object tree TB --- 2010-01-03 00:18:54 - cvsupping the source tree TB --- 2010-01-03 00:18:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2010-01-03 00:20:08 - building world TB --- 2010-01-03 00:20:08 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-03 00:20:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-03 00:20:08 - TARGET=sparc64 TB --- 2010-01-03 00:20:08 - TARGET_ARCH=sparc64 TB --- 2010-01-03 00:20:08 - TZ=UTC TB --- 2010-01-03 00:20:08 - __MAKE_CONF=/dev/null TB --- 2010-01-03 00:20:08 - cd /src TB --- 2010-01-03 00:20:08 - /usr/bin/make -B buildworld >>> World build started on Sun Jan 3 00:20:08 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Jan 3 01:16:43 UTC 2010 TB --- 2010-01-03 01:16:43 - generating LINT kernel config TB --- 2010-01-03 01:16:43 - cd /src/sys/sparc64/conf TB --- 2010-01-03 01:16:43 - /usr/bin/make -B LINT TB --- 2010-01-03 01:16:43 - building LINT kernel TB --- 2010-01-03 01:16:43 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-03 01:16:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-03 01:16:43 - TARGET=sparc64 TB --- 2010-01-03 01:16:43 - TARGET_ARCH=sparc64 TB --- 2010-01-03 01:16:43 - TZ=UTC TB --- 2010-01-03 01:16:43 - __MAKE_CONF=/dev/null TB --- 2010-01-03 01:16:43 - cd /src TB --- 2010-01-03 01:16:43 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jan 3 01:16:43 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] 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=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh LINT 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=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror vers.c linking kernel init_sysent.o(.data+0x4088): undefined reference to `freebsd4_sigreturn' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-03 01:28:27 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-03 01:28:27 - ERROR: failed to build lint kernel TB --- 2010-01-03 01:28:27 - 3183.65 user 631.47 system 4191.59 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 03:27:03 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17BE91065679; Sun, 3 Jan 2010 03:27:03 +0000 (UTC) (envelope-from rgrover1@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id D92E38FC14; Sun, 3 Jan 2010 03:27:02 +0000 (UTC) Received: by pwi15 with SMTP id 15so9536163pwi.3 for ; Sat, 02 Jan 2010 19:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=XVVz1LChtjHrJVLd6ynyZH4HA+zDGTYYNaoh3HJnq0g=; b=ItCQOiksx7Zmm0EWlRA9QYAsZy8WBWxgVchf/057XfXwiZ96CL+wJbJGG2W/u9bo/D S7A3FMueN5CQfpjl846LgBjRwDC0kL9Ye/OsUQU3OjLKt580r4cMl7fQSiv/I0Yg3K+x 9VQ7Ddo1LSnyGw01JCVGlWflNBK6/st7ZsAes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=iRXjtVkShUxu+0P9dQKUY3xlR07CX2MKOj2GVRyVCnowYLL4MDvAn3GqP4o9kPZqUW 3o0Cbxqhr77He7MA9E5/3Wkc+Y6b83dXRr2b1EGTTHcoedIf/iToqfXzC5dR1JMMXl3t oHB7Zhwb8HqMlp2KSwz8nR2exE4xy8dXXxFxs= MIME-Version: 1.0 Received: by 10.114.237.7 with SMTP id k7mr14837389wah.151.1262487626247; Sat, 02 Jan 2010 19:00:26 -0800 (PST) In-Reply-To: <20091223035331.GA1293@weongyo> References: <20091223035331.GA1293@weongyo> Date: Sun, 3 Jan 2010 16:00:26 +1300 Message-ID: <426bed111001021900i4ed55836u456a12f6c578df72@mail.gmail.com> From: Rohit Grover To: Weongyo Jeong , current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 03:27:03 -0000 Hi, Thanks a lot for writing a driver for Broadcom Wireless cards. I have a BCM4321 on my laptop. Upon loading ssb, I get the following on the console: ssb0: mem 0xd0500000-0xd0503fff,0xd0000000-0xd00fffff irq 16 at device 0.0 on pci2 ssb0: warn: multiple PCI(E) cores ssb0: unsupportted coreid 0x817 Thereafter, upon loading bwn_v4_ucode and if_bwn, I get nothing on the console; and the wlan interface doesn't appear either. Executing 'pciconfig -lv' after the above reveals the following about my wireless card: ssb0@pci0:2:0:0: class=0x028000 card=0x0088106b chip=0x432814e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Broadcom 432AGN 802.11a/b/g/draft-n Wi-Fi Solution (BCM4321KFBG)' class = network Could you please help with this? Regards, Rohit. On Wed, Dec 23, 2009 at 4:53 PM, Weongyo Jeong wrote: > Hello, > > Now bwn(4) is available at the public and waiting test and review. The > status of this driver is *alpha* so could make panics, warnings and > errors. Please let me know if you encounter problems. > > The following NICs all I have are only tested on the little endian 64bit > machine and big endian 32bit machine. > > - Broadcom BCM4306 802.11b/g Wireless > - Broadcom BCM4318 802.11b/g Wireless > > I tested basic RX, TX and WPA association as STA mode and checked it > worked. > > As you might know there are still a lot of TODO in the driver so you > could see some verbose messages during testing so please ignore or let > me know it makes problems. > > == How to build and load == > > # cd /usr/src/sys > # fetch http://people.freebsd.org/~weongyo/bwn_20091222.tar.gz > # tar xzf bwn_20091222.tar.gz > # cd modules/ssb > # make && make install > # cd ../.. > # cd modules/bwn > # make && make install > # cd somewhere > # fetch http://people.freebsd.org/~weongyo/bwn_ports_20091222.tar.gz > # tar xzf bwn_ports_20091222.tar.gz > # cd sysutils/b43-fwcutter > # make install clean > # cd ../.. > # cd net/bwn-firmware-kmod > # make install clean > # > # kldload ssb > # kldload bwn_v4_ucode > # kldload if_bwn > > regards, > Weongyo Jeong > > _______________________________________________ > 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-current@FreeBSD.ORG Sun Jan 3 05:18:48 2010 Return-Path: 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 94659106566B for ; Sun, 3 Jan 2010 05:18:48 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6F68FC15 for ; Sun, 3 Jan 2010 05:18:47 +0000 (UTC) Received: by fxm27 with SMTP id 27so13340150fxm.3 for ; Sat, 02 Jan 2010 21:18:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=rKUn31z6S2vR5xTSnZi8TnvXdWCMtIgpPyLEk1jrFaE=; b=SvTSjB4Z6pVso63ZOG1g8joknZHUWfhFs7rU0KXtSVu3g2hvWR0dyxjvPK46kQtWoG OnadulLw2/wcdb0bqVpKGX8etGs7FK+nbxOKDthWdODAuIX781136KzZLAhQkXIV+1Sc 39AeWGEjSI5x+B6O4HF68tK2z/aOXDn0a7e2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=R0TyRxf2N3kMkyIzVCCa2Y6ySiO5Ooeau9R2CM+C0Nbv72j5r3nNlPV53Tomf2/Z8e UIe1p4B8COdWhWIKvBlObxh1K2jNYJFvzAbdA/WVfB03AOK70uuehmE0WqcJVYpvc2X+ 7pJ4dc6haI49yAZVRToSu6qNEt+/8GhhGEV7E= MIME-Version: 1.0 Received: by 10.239.159.148 with SMTP id y20mr1187806hbc.58.1262495912313; Sat, 02 Jan 2010 21:18:32 -0800 (PST) Date: Sun, 3 Jan 2010 00:18:32 -0500 Message-ID: <25ff90d61001022118y3c2a4ddcr30fd5283af065346@mail.gmail.com> From: David Horn To: Qing Li , freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary=001485f27fae62464f047c3bbc50 Cc: Subject: netinet6/in6.c r201282 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 05:18:48 -0000 --001485f27fae62464f047c3bbc50 Content-Type: text/plain; charset=ISO-8859-1 Qing -- I have been having some issues with local ipv6 routes to machines that are supposed to be on-link (attached to the same ethernet switch as my test FreeBSD 9.0 box, and in the same /64) not being able to be accessed properly after r201282. Simple ping6 to the host does not result in a echo response once the ndp entries go stale. (from looking at ndp -a) I noticed that there seems to be a missing /64 on the routing table entry, and doing a "route get -inet6 $hostname" for a host that is supposed to be on-link and in the same /64 results in a routing entry that points to the default router instead of the appropriate route for the /64. I have attached both a working (route.good.txt) and broken (route.bad.txt) routing table (from netstat -rWnfinet6) Let me know if you want a tcpdump, or other configuration data. I can get it to work again if I hack up in6.c (not a valid fix TTBOMK) like so: Index: in6.c =================================================================== --- in6.c (revision 201413) +++ in6.c (working copy) @@ -1766,8 +1766,6 @@ || (ifp->if_flags & IFF_LOOPBACK))) { error = ifa_add_loopback_route((struct ifaddr *)ia, (struct sockaddr *)&ia->ia_addr); - if (error == 0) - ia->ia_flags |= IFA_RTSELF; } /* Add ownaddr as loopback rtentry, if necessary (ex. on p2p link). */ uname -a FreeBSD la 9.0-CURRENT FreeBSD 9.0-CURRENT #15 r201407:201413: Sat Jan 2 22:36:31 EST 2010 dhorn@la:/usr/obj/usr/src/sys/DHORN amd64 --Thanks! ---Dave Horn --001485f27fae62464f047c3bbc50 Content-Type: text/plain; charset=US-ASCII; name="route.bad.txt" Content-Disposition: attachment; filename="route.bad.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g3zd6i201 Um91dGluZyB0YWJsZXMKCkludGVybmV0NjoKRGVzdGluYXRpb24gICAgICAgICAgICAgICAgICAg ICAgIEdhdGV3YXkgICAgICAgICAgICAgICAgICAgICAgIEZsYWdzICAgIFJlZnMgICAgICBVc2Ug ICAgTXR1ICAgIE5ldGlmIEV4cGlyZQo6Oi85NiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg OjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYz ODQgICAgICBsbzAgPT4KZGVmYXVsdCAgICAgICAgICAgICAgICAgICAgICAgICAgIGZlODA6OjIy NDoxZmY6ZmU0MzoyMWU2JWJmZTAgIFVHICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBi ZmUwCjo6MSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6OjEgICAgICAgICAgICAgICAg ICAgICAgICAgICBVSCAgICAgICAgICAwICAgICAgICAyICAxNjM4NCAgICAgIGxvMAo6OmZmZmY6 MC4wLjAuMC85NiAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAg VUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKMjAwMTo0NzA6ODo1ODQ6OiAg ICAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAgICAgICAgICAgICAgIFVIICAgICAgICAg IDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCjIwMDE6NDcwOjg6NTg0OjphYSAgICAgICAgICAg ICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAgICBVSFMgICAgICAgICAwICAgICAgICAw ICAxNjM4NCAgICAgIGxvMApmZTgwOjovMTAgICAgICAgICAgICAgICAgICAgICAgICAgOjoxICAg ICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAg ICBsbzAKZmU4MDo6JWJmZTAgICAgICAgICAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAg ICAgICAgICAgICAgIFVIICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCmZlODA6 OjIxYzoyM2ZmOmZlOTg6MmM1ZCViZmUwICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAg ICBVSFMgICAgICAgICAwICAgICAgICAwICAxNjM4NCAgICAgIGxvMApmZTgwOjolbG8wICAgICAg ICAgICAgICAgICAgICAgICAgbGluayM1ICAgICAgICAgICAgICAgICAgICAgICAgVUggICAgICAg ICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmU4MDo6MSVsbzAgICAgICAgICAgICAgICAg ICAgICAgIGxpbmsjNSAgICAgICAgICAgICAgICAgICAgICAgIFVIUyAgICAgICAgIDAgICAgICAg IDAgIDE2Mzg0ICAgICAgbG8wCmZmMDE6Mjo6LzMyICAgICAgICAgICAgICAgICAgICAgICBmZTgw OjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAgICAgICAwICAgICAgICAwICAgMTUwMCAg ICAgYmZlMApmZjAxOjU6Oi8zMiAgICAgICAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAg ICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmYw Mjo6LzE2ICAgICAgICAgICAgICAgICAgICAgICAgIDo6MSAgICAgICAgICAgICAgICAgICAgICAg ICAgIFVHUlMgICAgICAgIDAgICAgICAgIDAgIDE2Mzg0ICAgICAgbG8wCmZmMDI6OiViZmUwLzMy ICAgICAgICAgICAgICAgICAgICBmZTgwOjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAg ICAgICAwICAgICAgICAwICAgMTUwMCAgICAgYmZlMApmZjAyOjolbG8wLzMyICAgICAgICAgICAg ICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAg ICAgMCAgMTYzODQgICAgICBsbzAK --001485f27fae62464f047c3bbc50 Content-Type: text/plain; charset=US-ASCII; name="route.good.txt" Content-Disposition: attachment; filename="route.good.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g3zd7m381 Um91dGluZyB0YWJsZXMKCkludGVybmV0NjoKRGVzdGluYXRpb24gICAgICAgICAgICAgICAgICAg ICAgIEdhdGV3YXkgICAgICAgICAgICAgICAgICAgICAgIEZsYWdzICAgIFJlZnMgICAgICBVc2Ug ICAgTXR1ICAgIE5ldGlmIEV4cGlyZQo6Oi85NiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg OjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYz ODQgICAgICBsbzAgPT4KZGVmYXVsdCAgICAgICAgICAgICAgICAgICAgICAgICAgIGZlODA6OjIy NDoxZmY6ZmU0MzoyMWU2JWJmZTAgIFVHICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBi ZmUwCjo6MSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6OjEgICAgICAgICAgICAgICAg ICAgICAgICAgICBVSCAgICAgICAgICAwICAgICAgICAyICAxNjM4NCAgICAgIGxvMAo6OmZmZmY6 MC4wLjAuMC85NiAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAg VUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKMjAwMTo0NzA6ODo1ODQ6Oi82 NCAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAgICAgICAgICAgICAgIFUgICAgICAgICAg IDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCjIwMDE6NDcwOjg6NTg0OjphYSAgICAgICAgICAg ICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAgICBVSFMgICAgICAgICAwICAgICAgICAw ICAxNjM4NCAgICAgIGxvMApmZTgwOjovMTAgICAgICAgICAgICAgICAgICAgICAgICAgOjoxICAg ICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAg ICBsbzAKZmU4MDo6JWJmZTAvNjQgICAgICAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAg ICAgICAgICAgICAgIFUgICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCmZlODA6 OjIxYzoyM2ZmOmZlOTg6MmM1ZCViZmUwICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAg ICBVSFMgICAgICAgICAwICAgICAgICAwICAxNjM4NCAgICAgIGxvMApmZTgwOjolbG8wLzY0ICAg ICAgICAgICAgICAgICAgICAgbGluayM1ICAgICAgICAgICAgICAgICAgICAgICAgVSAgICAgICAg ICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmU4MDo6MSVsbzAgICAgICAgICAgICAgICAg ICAgICAgIGxpbmsjNSAgICAgICAgICAgICAgICAgICAgICAgIFVIUyAgICAgICAgIDAgICAgICAg IDAgIDE2Mzg0ICAgICAgbG8wCmZmMDE6Mjo6LzMyICAgICAgICAgICAgICAgICAgICAgICBmZTgw OjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAgICAgICAwICAgICAgICAwICAgMTUwMCAg ICAgYmZlMApmZjAxOjU6Oi8zMiAgICAgICAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAg ICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmYw Mjo6LzE2ICAgICAgICAgICAgICAgICAgICAgICAgIDo6MSAgICAgICAgICAgICAgICAgICAgICAg ICAgIFVHUlMgICAgICAgIDAgICAgICAgIDAgIDE2Mzg0ICAgICAgbG8wCmZmMDI6OiViZmUwLzMy ICAgICAgICAgICAgICAgICAgICBmZTgwOjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAg ICAgICAwICAgICAgICAwICAgMTUwMCAgICAgYmZlMApmZjAyOjolbG8wLzMyICAgICAgICAgICAg ICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAg ICAgMCAgMTYzODQgICAgICBsbzAK --001485f27fae62464f047c3bbc50-- From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 06:36:55 2010 Return-Path: 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 596C8106566C; Sun, 3 Jan 2010 06:36:55 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id C36818FC14; Sun, 3 Jan 2010 06:36:54 +0000 (UTC) Received: from [IPv6:::1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id o036aUmA071289; Sat, 2 Jan 2010 23:36:30 -0700 (MST) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Scott Long In-Reply-To: <71177.1262471841@critter.freebsd.dk> Date: Sat, 2 Jan 2010 23:36:30 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <71177.1262471841@critter.freebsd.dk> To: Poul-Henning Kamp X-Mailer: Apple Mail (2.1076) X-Spam-Status: No, score=-4.2 required=3.8 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , freebsd-current@freebsd.org, Julian Elischer , freebsd-arch@freebsd.org, Pieter de Goeje , Alexander Motin Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 06:36:55 -0000 On Jan 2, 2010, at 3:37 PM, Poul-Henning Kamp wrote: > In message <4B3FC8A2.1090901@elischer.org>, Julian Elischer writes: >> Poul-Henning Kamp wrote: >>> You overlook that MBR/Fdisk requires bootable slices to start at a >>> "track". That means that the propper slice-alignmen typically >>> will be 8*63=504 sectors. >> >> No it doesn't, (or at least it didn't) but it has become custom to >> do so. > > Yes it does, for all slices not starting on the first head. > > We've been over this maddness in the past multiple times. Julian is correct, LBA and packet mode has left the CHS madness as nothing more than a historical blemish. For many many years, we set up our FreeBSD systems at Yahoo to create a bootable Slice 1 at sector 512, and it worked just fine. Given that we use a multitude of vendors and BIOSes, our sample size is fairly significant. IIRC, BIOS vendors switched to packet mode around 2001-2002, and maybe as late as 2003 for some late adopters, but certainly no later than that. That was 8-9 years ago, roughly half of FreeBSD's present age. I don't know for sure, but I'd bet that packet mode has been a WHQL item since at least WinXP, and thus pretty much guaranteed to be present in the vast majority of operational hardware out there. Despite all of this, I do recognize and appreciate your concern for compatibility. That's why I really like John Baldwin's hybrid MBR+GPT solution, as it appears to bridge compatibility while breaking away from the CHS and MBR constraints. We switched to it at Yahoo several years ago, and it also works very well for us. Scott From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 06:56:09 2010 Return-Path: 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 763E61065693 for ; Sun, 3 Jan 2010 06:56:09 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4FED38FC17 for ; Sun, 3 Jan 2010 06:56:09 +0000 (UTC) Received: from [10.0.0.240] (unknown [64.9.237.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A910C22E253 for ; Sun, 3 Jan 2010 01:56:02 -0500 (EST) Message-ID: <4B40AFFA.6090706@gmail.com> Date: Sun, 03 Jan 2010 06:55:54 -0800 From: David Ehrmann User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: vge traffic problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 06:56:09 -0000 I reported this problem before, but I have a specific, reproducible example, now. I'm running 8.0 RC1. I'm trying to fetch the source to upgrade to 8.0, but this happens: # csup stable-supfile Connected to 72.233.193.64 Receiver: Connection reset by peer Will retry at 22:39:31 tcpdump output of that: http://pastebin.com/m16978f3 (there seem to be a lot of duplicate acks being sent). I tried with a different server, and I tried several times, but generally, the same thing, though I do occasionally get lucky. I have a vr interface on my motherboard, so I gave it an IP address in a different subnet and changed the default gateway to a NAT box with the same default gateway as this box used to have (so I'm using the same internet connection). Suddenly, it works. Reproducibly. I also have issues with samba, but putting that aside, netstat -s -p tcp reported this: tcp: ... 289024537 packets received 116305350 acks (for 1099476725 bytes) 3119202 duplicate acks That's a duplicate ack received for every 37 unique acks. Seems pretty high for traffic on a small LAN, but I could be wrong. I checked the cable; it is cat5e or cat 6. I also tried plugging the vge port into a 10/100 mbps switch, but csup still failed. Ideas? I saw that there were a few recent changes to vge, but I'm not sure if they're related to this. From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 08:58:49 2010 Return-Path: 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 B28CD1065676 for ; Sun, 3 Jan 2010 08:58:49 +0000 (UTC) (envelope-from ari@ish.com.au) Received: from fish.ish.com.au (eth5921.nsw.adsl.internode.on.net [59.167.240.32]) by mx1.freebsd.org (Postfix) with ESMTP id 458308FC21 for ; Sun, 3 Jan 2010 08:58:48 +0000 (UTC) Received: from [10.29.62.2] (port=62799 helo=Aris-MacBook-Pro.local) by fish.ish.com.au with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NRMY8-0003Az-2C for freebsd-current@freebsd.org; Sun, 03 Jan 2010 20:15:00 +1100 Message-ID: <4B405C3D.7090501@ish.com.au> Date: Sun, 03 Jan 2010 19:58:37 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20091229 Shredder/3.0.1pre MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4AC141B0.4090705@delphij.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] Shutdown cooloff feature X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 08:58:49 -0000 On 3/01/10 11:28 AM, martinko wrote: > Robert Watson wrote: >> >> On Mon, 28 Sep 2009, Xin LI wrote: >> >>> I'm not sure if anyone would find this useful: >> >> Along similar lines, if we're looking at frequent admin errors: I've >> noticed an increasing number of people using "reboot" rather than >> "shutdown -r NOW" on the basis that on Linux (and perhaps other >> systems), reboot gives a clean application shutdown. I wonder if we >> should be making a similar change -- a lot of people may be risky data >> corruption/loss due to unclean application shutdown as a result of that >> misunderstanding. > > Sorry for a too late note, I'm just catching up, however .. > > IIRC Solaris for instance differentiate similarly to FreeBSD between > shutdown, reboot and others. So we're not alone. :) And I've always > considered it a good thing -- shutdown is clean/correct and higher level > then reboot & co. > > OT: I've noticed that PC-BSD has been shipping for ages with reboot > instead of shutdown. That is default in KDE and comes from Linux. > Adding another 'me too'. I've been working with various Unices for 15 years now and it has only been this thread that brought my attention to the evils of 'reboot'. I've always typed 'reboot' since I was worried that I'd accidentally type 'shutdown -R now' by mistake (or some similar typo) which would shutdown the box instead of reboot it, and then I'd need to spend the next 4 hours of my life traveling to a data centre. And 'reboot' was fewer letters to type. Why would an operating system have an unclean shutdown command at all? It would be more direct to just have a 'rand' command which writes random data to 5 random sectors on disk... :-) And surely if a process is stuck, it should be killed individually? Perhaps if this command is really needed it could be buried under "reboot -f" or something like that. For what it is worth, OSX does a clean graceful reboot with 'reboot'. Ari -- --------------------------> ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 09:32:28 2010 Return-Path: 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 4E20F106566C for ; Sun, 3 Jan 2010 09:32:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A375A8FC1F for ; Sun, 3 Jan 2010 09:32:27 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id o039WMwM034363; Sun, 3 Jan 2010 09:32:22 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o039WMwM034363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1262511142; bh=s7slymFuMtsNh6Hq3funMUHhle+3lq+I4MSYorJXKiI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B40641F.2010005@infracaninophile.co.uk>|Date:=20S un,=2003=20Jan=202010=2009:32:15=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Aristedes=20Maniatis=20|CC:=20fre ebsd-current@freebsd.org|Subject:=20Re:=20[PATCH]=20Shutdown=20coo loff=20feature|References:=20<4AC141B0.4090705@delphij.net>=09=09=20<4B405C3D.7090501@ish.com.au>|In-Reply-To:=20<4 B405C3D.7090501@ish.com.au>|X-Enigmail-Version:=200.95.6|Content-T ype:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protoc ol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"---------- --enig7803A78CB78F80E84589946C"; b=GuoP9xPJkWgt79mXZOdC0qIDk37235YJfavv09jqmpMcrhm4cVwd5WCWOMaL4cBjF wttdhuVr3yC9X6IdAjS1PBm0swDASeRcBoep4ap7nI7gsMLSLTsmW0sba4RzvUGq/i gzbr2CqURNiZT3gYOx2Sczysl6OBzI6frdJnHSFQ= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B40641F.2010005@infracaninophile.co.uk> Date: Sun, 03 Jan 2010 09:32:15 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Aristedes Maniatis References: <4AC141B0.4090705@delphij.net> <4B405C3D.7090501@ish.com.au> In-Reply-To: <4B405C3D.7090501@ish.com.au> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig7803A78CB78F80E84589946C" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] Shutdown cooloff feature X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 09:32:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7803A78CB78F80E84589946C Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Aristedes Maniatis wrote: > Why would an operating system have an unclean shutdown command at all? = reboot(8) by default isn't a completely unclean shutdown. It does flush any pending IO to disk and send a SIGTERM to all processes which should=20 stop them relatively cleanly and get you back up again without having to fsck(8) everything. What it doesn't do is run the rc.subr(8) shutdown scripts. A lot of the time, you'ld get away with that. It's only if you've got apps that don't handle SIGTERM correctly, or that take too long shutting down and get zapped by the SIGKILL reboot(8) sends to the laggards. (A big RDBMS for instance) If you want a really unclean shutdown, try 'reboot -q' or 'reboot -n'. 'reboot -qn' is virtually the same as toggling the power off and on again= at the mains. Hmmm... didn't there use to be a note about using 'halt -n= ' "if the processor catches fire" in the reboot(8) man page? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig7803A78CB78F80E84589946C 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktAZCYACgkQ8Mjk52CukIx1/QCdGV6EwQvG6sqhx4cYuebCTjN4 89cAn2aZlJu5QUdk4Ddyn8euvDaG0Uxf =ovfU -----END PGP SIGNATURE----- --------------enig7803A78CB78F80E84589946C-- From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 09:35:52 2010 Return-Path: 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 EF788106566B for ; Sun, 3 Jan 2010 09:35:52 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id B4B688FC1B for ; Sun, 3 Jan 2010 09:35:52 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id E7A6A1D35CC; Sun, 3 Jan 2010 10:09:03 +0100 (CET) Date: Sun, 3 Jan 2010 10:09:03 +0100 From: "Thomas K." To: Aristedes Maniatis Message-ID: <20100103090903.GA11956@gothschlampen.com> References: <4AC141B0.4090705@delphij.net> <4B405C3D.7090501@ish.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B405C3D.7090501@ish.com.au> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] Shutdown cooloff feature X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 09:35:53 -0000 On Sun, Jan 03, 2010 at 07:58:37PM +1100, Aristedes Maniatis wrote: > Why would an operating system have an unclean shutdown command at all? It E.g. single user mode, when everything is mounted read-only. Regards, Thomas From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 10:34:48 2010 Return-Path: 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 CA84D1065679 for ; Sun, 3 Jan 2010 10:34:48 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from redwerk.com (redwerk.com [89.105.196.9]) by mx1.freebsd.org (Postfix) with ESMTP id 87AB78FC1B for ; Sun, 3 Jan 2010 10:34:48 +0000 (UTC) Received: from [192.168.250.5] (helo=office.redwerk.com) by redwerk.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NRNn5-0008QO-F8 for freebsd-current@freebsd.org; Sun, 03 Jan 2010 11:34:46 +0100 Received: from bofh by office.redwerk.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NRNn4-000GAM-JS for freebsd-current@freebsd.org; Sun, 03 Jan 2010 12:34:30 +0200 Date: Sun, 3 Jan 2010 12:34:30 +0200 From: Eugene Dzhurinsky To: freebsd-current@freebsd.org Message-ID: <20100103103430.GA57233@office.redwerk.com> Mail-Followup-To: freebsd-current@freebsd.org References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 10:34:48 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: > On 12/25/09, Eugene Dzhurinsky wrote: > > On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: > >> Have you tried using if_ndis? > > The kernel module I've created just hangs once loaded :( > This is on amd64? No, i386 --=20 Eugene N Dzhurinsky --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAktAcrYACgkQy/i/DoZLbHxVJwCgkpKlghr023ISZ/d1CGkyVY2c izMAnRLNyomIuKDvIYo/mvoUDdZktP4C =JVO0 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 11:01:31 2010 Return-Path: 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 2386F1065679 for ; Sun, 3 Jan 2010 11:01:31 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id A254A8FC08 for ; Sun, 3 Jan 2010 11:01:30 +0000 (UTC) Received: by ewy26 with SMTP id 26so12172139ewy.3 for ; Sun, 03 Jan 2010 03:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=8NaaLE17OqwUNwa9DakU4BXHr0A6ZVJx1sj1IsuspKI=; b=Pw7xz5ABUgKfB3CN18pWaxqLee+MeQ3X9OZgSPgIHAqZDplpo4rhV/V3SWrNTwgf5K XOpYTdeXxdbgKG5wAnc1W7egyvwlEtyt+0lA0G72E0cUvmCj4Bq+npd8Tg1JDZ6kAT9R L/kpSmoMwDdPWDW4EeF7PsddB1fpWNa6oNWY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=O0TA31qwBbitsKNwpTKVyxzVlpWOERsjQf/qzsQIaw1QXPNRQjBt1Zl5pJwY6ALrNI o3a8bWXUvEejSjOL6lfqzCF8fIpmR6BNL8TXrEVpjgPZu/T0f92Gfr/aMHjIEF/LSlay aAePgyJj5oWnWLoj7YpAKICMOnwaZg5SAUCQU= MIME-Version: 1.0 Received: by 10.213.98.144 with SMTP id q16mr11093084ebn.29.1262516475661; Sun, 03 Jan 2010 03:01:15 -0800 (PST) In-Reply-To: <20100103103430.GA57233@office.redwerk.com> References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> Date: Sun, 3 Jan 2010 12:01:15 +0100 Message-ID: <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> From: Paul B Mahol To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 11:01:31 -0000 On 1/3/10, Eugene Dzhurinsky wrote: > On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: >> On 12/25/09, Eugene Dzhurinsky wrote: >> > On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: >> >> Have you tried using if_ndis? >> > The kernel module I've created just hangs once loaded :( >> This is on amd64? > > No, i386 Is anything displayed on console? Are you sure you are using 5.1 driveres (for XP) and not newer ones? Could you please test code from here: http://gitorious.org/ndisulator -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 14:30:33 2010 Return-Path: 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 ACCE5106568B for ; Sun, 3 Jan 2010 14:30:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 733158FC08 for ; Sun, 3 Jan 2010 14:30:33 +0000 (UTC) Received: by iwn7 with SMTP id 7so1385651iwn.7 for ; Sun, 03 Jan 2010 06:30:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=k/PiEwCZmFO8A/rzbyDFQ5aR0s91vO7/nEpvFJBfmDk=; b=s8F7qGgCKBF95J73rloN0k4FLNLJNbdp3brAmBahQSCRld8FdIMXC1pHQSYCDIBGTg ZK7MaeabmV6I01u3znlAPf/n8YoX5HaU7Vi6tbtJXpM92KC+JYRYojYBrEFlEKCAOtrl YTfFEx3WUPN2smSE7E3xUvCBLPJWZrvHShSEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=FdWUpdWvBlqhg/P/a5QwO3btkOZFGBuBfXGoxN2+gepmpzklHgHXxlRENs+9ABIZfa 2oF38ikHWfiqzEQ7By5f+ibxJ12EtuAnYky6lRVthmEA5sxrmQ0Y2TzSFfzne+BXZY9l Dylx0qcvPtRPf1rd7J++iAAsvCe26Wgj9h4S4= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.231.148.83 with SMTP id o19mr4627879ibv.39.1262529022085; Sun, 03 Jan 2010 06:30:22 -0800 (PST) In-Reply-To: <4B405C3D.7090501@ish.com.au> References: <4AC141B0.4090705@delphij.net> <4B405C3D.7090501@ish.com.au> Date: Sun, 3 Jan 2010 22:30:22 +0800 X-Google-Sender-Auth: 95eabafce83b2ff7 Message-ID: From: Adrian Chadd To: Aristedes Maniatis Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] Shutdown cooloff feature X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 14:30:33 -0000 2010/1/3 Aristedes Maniatis : > Why would an operating system have an unclean shutdown command at all? It .. you've never seen a completely screwed up Solaris/Linux install where the shutdown stuff is so b0rked it won't complete? :) Adrian From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 15:18:52 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A621C106566B; Sun, 3 Jan 2010 15:18:52 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id DE49C8FC0A; Sun, 3 Jan 2010 15:18:51 +0000 (UTC) Received: by ewy26 with SMTP id 26so12293613ewy.3 for ; Sun, 03 Jan 2010 07:18:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nNU7r+E+LbELRvcpAHHteQSGrQBEkUGX96TXodJzA8s=; b=ep7XhlBpTUyIFhaMAERiIGInLzg5iwH21s60dOV4hlASOB6FKESF86+jXKQE2a6/MW LTg/PtUuP/WyRrU6pc6TvwezFpU9sjw7LpotuYh2NtWpPvsNeTgQIf3ZlglJnE3VJJPq yTHwfTRwnOg95cvIVmMVqGuA8jwvICaLcq0z4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=xcDwp920jVLmrufg+kJ0/9niRkvUr9FmzDE+hl7tZxjDZkF61lErxuph8mJKIsluYY nXvclI1XEOA6d9vWc9EnYPdl1qF7m1dSYJ7c3A08CCyh1AFAZA089dHqx9uTtW3wZ2Mv AqHT9to29OYqcwy1cusEmoLhLSe2HgrLHhEB8= MIME-Version: 1.0 Received: by 10.213.37.73 with SMTP id w9mr24792316ebd.27.1262531916074; Sun, 03 Jan 2010 07:18:36 -0800 (PST) In-Reply-To: <20100101231116.GD1491@weongyo> References: <20091223035331.GA1293@weongyo> <4B3250E7.1000509@lissyara.su> <20091223201438.GD1293@weongyo> <4B32822D.30201@lissyara.su> <4B34E7E8.1040009@lissyara.su> <20100101231116.GD1491@weongyo> Date: Sun, 3 Jan 2010 16:18:35 +0100 Message-ID: <3a142e751001030718oe164e9fn968c97c6c4c1849@mail.gmail.com> From: Paul B Mahol To: Weongyo Jeong , Alex Keda , Paul B Mahol , David Horn , current@freebsd.org, Gonzalo Nemmi , Attilio Rao , Aditya Sarawgi , Andrea Di Pasquale Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 15:18:52 -0000 On 1/2/10, Weongyo Jeong wrote: > On Fri, Dec 25, 2009 at 07:27:20PM +0300, Alex Keda wrote: >> Alex Keda pishet: >> >Weongyo Jeong pishet: >> >>It's caused by unexpected SSB core. Could you please test with attached >> >>patch with email and tell me the result? >> >All OK >> > >> >ssb0: mem 0xc8000000-0xc8003fff >> >irq 18 at device 0.0 on pci48 >> >ssb0: unsupportted coreid 0x817 >> >info: [drm] Num pipes: 1 >> >bwn0 on ssb0 >> >bwn0: WLAN (chipid 0x4311 rev 13) PHY (analog 4 type 2 rev 9) RADIO >> >(manuf 0x17f ver 0x2050 rev 2) >> >bwn0: DMA (64 bits) >> >bwn0: [FILTER] >> > >> >scan - works. >> >HP# ifconfig wlan0 scan >> >SSID/MESH ID BSSID CHAN RATE S:N INT CAPS >> >0x000000000 00:19:e1:00:e1:d0 1 54M -79:-95 100 ES WME >> >Beeline_WiFi 00:19:e1:00:e1:d1 1 54M -79:-95 100 ES WME >> >Beeline_WiF... 00:19:e1:00:e1:d2 1 54M -79:-95 100 EPS RSN WPA >> > WME >> >HP# >> > >> >but, I can test it with access point only through two days >> so, it's work, but I have reproduce panic. >> >> I manually assign IP address: >> # ifconfig wlan0 192.168.250.2 >> then, run command: >> # /etc/netstart >> and I see: >> ..... >> wpa_supplicant[2084]: Failed to disable WPA in the driver >> bwn0: bwn_newstate: RUN -> INIT >> bwn0: TODO: bwn_leds_exit >> bwn0: bwn_bt_disable TODO >> Starting wpa_supplicant. >> bwn0: firmware version ( rev 410 patch 2160 date 0x751a time 0x7c0a) >> Kernel page fault with the following non-sleepable lock held: >> exclusive sleep mutex bwn0 (network driver) r = 0 (0xffffff005a769010) >> locked @/usr/src/sys/modules/bwn/../../dev/bwn/if_bwn.c:906 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a >> _witness_sebugger() at _witness_debugger+0x2e >> witness_warn() at witness_warn+0x2c2 >> trap() at trap+0x2ce >> calltrap() at calltrap+0x8 >> --- trap 0xc, rip = 0xffffffff81516070, rsp = 0xffffff803ceeaa40, rbp = >> 0xffffff803ceeaa80 --- >> bwn_dma_setup() at bwn_dma_setup+0x10 >> bwn_dma_init() at bwn_dma_init+0x32 >> bwn_core_init() at bwn_core_init+0x40f >> bwn_init_locked() at bwn_init_locked+0xae >> bwn_ioctl() at bwn_ioctl+0xff >> taskqueue_run() at taskqueue_run+0x91 >> taskqueue_thread_loop() at taskqueue_thread_loop+0x3f >> fork_exit() at fork_exit+0x12a >> fork_tramponline() at fork_tramponline+0xe >> --- trap 0, rip = 0, rsp = 0xffffff803ceead30, rbp = 0 --- >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 1; apic id = 01 >> fault virtual address = 0x0 >> fault code = supervisor read data, page not present >> instruction pointer = 0x20:0xffffffff81516070 >> stack pointer = 0x28:0xffffff803ceeaa40 >> frame pointer = 0x28:0xffffff803ceeaa80 >> 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 = 0 (bwn0 taskq) >> [thread pid 0 tid 100239 ] >> Stopped at bwn_dma_setup+0x10: movq (%rax), %rax > > Just come back from vacation. Could you please test with attached > patch? Additionally it could be downloaded at the following URL: > > http://people.freebsd.org/~weongyo/patch_bwn_20100101.diff Can't reproduce panic any more. -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 15:59:48 2010 Return-Path: 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 25576106566C; Sun, 3 Jan 2010 15:59:48 +0000 (UTC) (envelope-from thierry.herbelot@free.fr) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by mx1.freebsd.org (Postfix) with ESMTP id EE1EE8FC1D; Sun, 3 Jan 2010 15:59:45 +0000 (UTC) Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 85F404C80DB; Sun, 3 Jan 2010 16:59:40 +0100 (CET) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g21.free.fr (Postfix) with ESMTP id 95E774C816C; Sun, 3 Jan 2010 16:59:38 +0100 (CET) Received: from tulipe.herbelot.nom (tulipe.herbelot.nom [192.168.2.5]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id o03FxR4H012508; Sun, 3 Jan 2010 16:59:35 +0100 (CET) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Sun, 3 Jan 2010 16:59:20 +0100 User-Agent: KMail/1.9.10 References: <200912110615.28030.thierry.herbelot@free.fr> <200912301513.07046.jhb@freebsd.org> <200912302140.36319.thierry.herbelot@free.fr> In-Reply-To: <200912302140.36319.thierry.herbelot@free.fr> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <201001031659.21517.thierry.herbelot@free.fr> Cc: Subject: Re: Panic in a recent kernel (cardbus/pci related ?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 15:59:48 -0000 Le Wednesday 30 December 2009, Thierry Herbelot a écrit : > Le Wednesday 30 December 2009, John Baldwin a écrit : > > On Wednesday 30 December 2009 2:48:37 pm M. Warner Losh wrote: > > [BIG SNIP] > > > Sure. I've committed some of the more harmless bits already. I've > > regenerated the full set of remaining patches at the same URL. I've > > also split out two sub-patches: > > Hello, > > I won't find time to test it before the week-end : then I'll tell you the > latest results ;-) > > Thanks > > TfH > Like many others, I'm glad to report that the latest -current is happy on my old laptop (with a cardbus Ethernet board) Thanks TfH From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 20:04:43 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B93D2106568F; Sun, 3 Jan 2010 20:04:43 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 472E68FC0C; Sun, 3 Jan 2010 20:04:42 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so3291825qwb.7 for ; Sun, 03 Jan 2010 12:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=7NwfNWHTK5soD2ETCV6tiXKIppsGqNq0OL8KATbPQbo=; b=rnPMdNUtOOqF1pWFyvujdL/B/0ED9QvrJqrn/MqHLxv1sJgyvG3oRUMehDIT7wbvrE Fg77Ha2d70kP5L2EG910Wtu5mV7mBrzEQ8pc/V0FN2O701opwBMwM8ds/GYyp5qiJXj9 nJMqFqqfI93RSZxWxsjGJO0S3xcWKHEgfzVA8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HHzQ74LNSecpgyPL8lhRQw/ikmXPssztmp5a2hjwv94OoDSz9YaccQh9nRwATdrfSP JtmBr//UvV8ONE8pB4ejpqLkUNEDxIN9FxkJEhBPfJ3it7LHr0v4dL9zOH6yejPo9Sk3 gpe380KYkDQqyFClfYXkLkwtJ1+A80wbWwo9o= MIME-Version: 1.0 Received: by 10.229.116.140 with SMTP id m12mr9189822qcq.54.1262549075836; Sun, 03 Jan 2010 12:04:35 -0800 (PST) In-Reply-To: <20100102065739.GA12531@x2.osted.lan> References: <90a5caac0912291525k25210016ib7d45be088c162b9@mail.gmail.com> <3bbf2fe11001011032hd292d57q1225db2ad9629326@mail.gmail.com> <20100102065739.GA12531@x2.osted.lan> Date: Sun, 3 Jan 2010 21:04:34 +0100 Message-ID: <90a5caac1001031204q7165e491x6cbc8d8bd1e6574c@mail.gmail.com> From: Lucius Windschuh To: Peter Holm Content-Type: text/plain; charset=ISO-8859-1 Cc: Attilio Rao , Kostik Belousov , current@freebsd.org Subject: Re: NFS panic: ^C on cp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 20:04:43 -0000 Hi Attilo, hi Peter. You are right, Peter. The patch fixes this problem. Although the 26C3 is now over, I managed to reproduce the problem against a FreeBSD 7.2 NFS server without the patch. With Attilo's patch, I can't reproduce the panic anymore. Thank you for analyzing the problem so quickly although I wasn't able to provide a real coredump. Lucius From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 20:08:05 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07BBB1065769 for ; Sun, 3 Jan 2010 20:08:05 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id B9A0B8FC0A for ; Sun, 3 Jan 2010 20:08:04 +0000 (UTC) Received: by qyk6 with SMTP id 6so6196611qyk.3 for ; Sun, 03 Jan 2010 12:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=nECUVALIYqs76cwbOpxSP8ev8c0jIpB2/ZYS795GBSo=; b=IO1Zf60ccazOXcj6CYg0gFRDMH70Azj0Xvewh7s0t+rvtYeyrSgsSygBaiqIOr09D/ zbRH2O2CSARSjdBL9SmZWBDjIcIHZEMhBipj0JeT1VS1bihWO70Uirspq0Ja4RfBeaYg /+bBIm6RxUuA31ZRh9ArEDPi2jGuQrwjKllTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PuVfvatrFi4W+EY+nuPSCNkdNwfYQ2cRTTREtoDEqhwsm81v5J9o5b74/MqHkZGMoH T90HeZoHsb9N9xJ+K9cYEvc5ul+R8XIwndRpq1vl06s7pBLtQPyxhHiI3ZumFwoIqvN/ uFqF/pXEJtCAYfER4vrDReIDdGq1Ehmi/6+J0= MIME-Version: 1.0 Received: by 10.229.49.132 with SMTP id v4mr286027qcf.50.1262549274928; Sun, 03 Jan 2010 12:07:54 -0800 (PST) Date: Sun, 3 Jan 2010 21:07:54 +0100 Message-ID: <90a5caac1001031207hf812b8am49e22380918f5421@mail.gmail.com> From: Lucius Windschuh To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: DDB scripts not executed unter Xorg? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 20:08:05 -0000 Hi, I'm using CURRENT r201138 on my machine with Xorg and with debugging. If I trigger a panic with sysctl debug.kdb.panic=1 under Xorg, my system simply hangs. If I trigger it under the console, it works and I get a textdump. If I do "conscontrol delete ttyv0" before triggering the panic, I also get a textdump under Xorg. Is this maybe a rough edge of the new TTY layer? Details: /etc/ddb.conf: # $FreeBSD: head/etc/ddb.conf 176835 2008-03-05 18:32:58Z brooks $ # # This file is read when going to multi-user and its contents piped thru # ``ddb'' to define debugging scripts. # # see ``man 4 ddb'' and ``man 8 ddb'' for details. # script lockinfo=show locks; show alllocks; show lockedvnods # kdb.enter.panic panic(9) was called. script kdb.enter.default=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset # kdb.enter.witness witness(4) detected a locking error. script kdb.enter.witness=run lockinfo /etc/rc.conf: ddb_enable="YES" /etc/sysctl.conf: debug.debugger_on_panic=1 kern.sync_on_panic=0 machdep.kdb_on_nmi=1 hw.syscons.kbd_reboot=0 hw.syscons.kbd_debug=0 debug.ddb.capture.bufsize=5000192 kernel config: http://sites.google.com/site/lwfreebsd/Home/files/kernelconfig-T400.txt?attredirects=0&d=1 dmesg: http://sites.google.com/site/lwfreebsd/Home/files/dmesg-T400-FreeBSD-CURRENT.txt?attredirects=0&d=1 Regards, Lucius From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 21:41:15 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F875106566B; Sun, 3 Jan 2010 21:41:15 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from services.rulez.sk (services.rulez.sk [92.240.234.125]) by mx1.freebsd.org (Postfix) with ESMTP id E8C768FC0C; Sun, 3 Jan 2010 21:41:14 +0000 (UTC) Received: from localhost (services.rulez.sk [92.240.234.125]) by services.rulez.sk (Postfix) with ESMTP id 83A80133461A; Sun, 3 Jan 2010 22:41:11 +0100 (CET) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.rulez.sk ([92.240.234.125]) by localhost (services.rulez.sk [92.240.234.125]) (amavisd-new, port 10024) with ESMTP id ep+tzO5pZDHe; Sun, 3 Jan 2010 22:41:10 +0100 (CET) Received: from danger-mbp.local (danger.mcrn.sk [84.16.37.254]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.rulez.sk (Postfix) with ESMTPSA id 4C83E1334609; Sun, 3 Jan 2010 22:41:10 +0100 (CET) Message-ID: <4B410EF8.5000806@FreeBSD.org> Date: Sun, 03 Jan 2010 22:41:12 +0100 From: Daniel Gerzo Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sk; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: current@freebsd.org, hackers@freebsd.org Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Fwd: HEADSUP: Call for FreeBSD Status Reports (Oct - Dec 2009) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 21:41:15 -0000 Dear all, I would like to remind you about the next FreeBSD Status Reports submission deadline, which is set to Jan 15th, 2010. So far, I have received only 3 reports, which is very low amount. If you have anything to share with the community about your FreeBSD related work, this is the best time to send us your entry. Thanks. ----- Pôvodná správa ----- Predmet: HEADSUP: Call for FreeBSD Status Reports (Oct - Dec 2009) Dátum: Sun, 20 Dec 2009 03:08:58 +0100 Od: Daniel Gerzo Organizácia: The FreeBSD Project Pre: hackers@freebsd.org, current@freebsd.org, stable@freebsd.org Dear all, Another quarter is soon to be finished and as such, I would like to remind you to submit your status reports as soon as possible, because the submissions for this quarter (covering period of Oct - Dec 2009) are due by Janurary 15th, 2010. I believe a lot of things have happened in the meantime. This call is not only for a reports about new projects, but entries including updates about previously announced projects are to be accepted too. You can find the latest report at http://www.freebsd.org/news/status/report-2009-04-2009-09.html. Please do not hesitate to write us a few lines - a short description about what you are working on, what are the plans and goals or possibly problems you have encountered, so we can inform our community about your great work! It is useful for you, as well as our users! To submit your entry, please post the filled-in XML template available at http://www.freebsd.org/news/status/report-sample.xml, or alternatively use our web based form at http://www.freebsd.org/cgi/monthly.cgi to generate the XML file to be posted by email to monthly@. We are looking forward to see your submissions! -- S pozdravom / Best regards Daniel Gerzo, FreeBSD committer From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 22:17:50 2010 Return-Path: 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 A24711065672 for ; Sun, 3 Jan 2010 22:17:50 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 568238FC22 for ; Sun, 3 Jan 2010 22:17:49 +0000 (UTC) Received: by qyk6 with SMTP id 6so6219352qyk.3 for ; Sun, 03 Jan 2010 14:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=XU5eT6JJAArsIdq5NqSrPB0ohu3aSRp08uqbqbqk+/8=; b=FEofCwdxGdcPAtuvLt8mxp9P4k22BhHyKeRTkUcOL1b9Z1WFxA1gbjM76PmHpiyLwj WEvsQVOR6qxbZDlFbnWagaEGG8lIEUA8sUfHkO+O8YsE5tQsc6Bv0CCADVLF431LbYFP lYi+qs5JASpntpeadDP07ghqBU4IcfZRjbEpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Uevhe2ckpEh6Cv+uf2G9M57AcaysGnWXgE1zRjhhtaLphSZMJXD9zgKf3OIYIysA2Z vyykYC/aC/m8mESO7iukObRwyjpZDQKI1N21ZK1yWMSSkcNMFrflpcup9uwzYSpA6Stc JyqvtM3O3PBVBxxJTUGBuFGGj4bjkCkTyZud0= Received: by 10.224.32.149 with SMTP id c21mr10805406qad.33.1262557062055; Sun, 03 Jan 2010 14:17:42 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 2sm47349445qwi.57.2010.01.03.14.17.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Jan 2010 14:17:40 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 3 Jan 2010 14:16:30 -0800 From: Pyun YongHyeon Date: Sun, 3 Jan 2010 14:16:30 -0800 To: David Ehrmann Message-ID: <20100103221630.GV1166@michelle.cdnetworks.com> References: <4B40AFFA.6090706@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B40AFFA.6090706@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: vge traffic problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 22:17:50 -0000 On Sun, Jan 03, 2010 at 06:55:54AM -0800, David Ehrmann wrote: > I reported this problem before, but I have a specific, reproducible > example, now. I'm running 8.0 RC1. I'm trying to fetch the source to > upgrade to 8.0, but this happens: > > # csup stable-supfile > Connected to 72.233.193.64 > Receiver: Connection reset by peer > Will retry at 22:39:31 > > tcpdump output of that: http://pastebin.com/m16978f3 (there seem to be a > lot of duplicate acks being sent). > > I tried with a different server, and I tried several times, but > generally, the same thing, though I do occasionally get lucky. > > I have a vr interface on my motherboard, so I gave it an IP address in a > different subnet and changed the default gateway to a NAT box with the > same default gateway as this box used to have (so I'm using the same > internet connection). Suddenly, it works. Reproducibly. > > I also have issues with samba, but putting that aside, netstat -s -p tcp > reported this: > > tcp: > ... > 289024537 packets received > 116305350 acks (for 1099476725 bytes) > 3119202 duplicate acks > > That's a duplicate ack received for every 37 unique acks. Seems pretty > high for traffic on a small LAN, but I could be wrong. I checked the > cable; it is cat5e or cat 6. I also tried plugging the vge port into a > 10/100 mbps switch, but csup still failed. > I vaguely guess it comes from long standing vge(4) bug. If a sending frame is composed of exactly 7 fragments, vge(4) used to set to 8 because the hardware expect # fragments + 1 in TX descriptor. However the bit fields that represents the information has 3 bits such that setting it to 8 yields 0 in this field and this seems to confuse controller. > Ideas? I saw that there were a few recent changes to vge, but I'm not > sure if they're related to this. I think I fixed all known vge(4) issues in HEAD. vge(4) in HEAD has new hardware based interrupt moderation, hardware MAC statistics support and WOL as well as fixing long standing bugs. Would you try latest vge(4) in HEAD?(Just download if_vge.c, if_vgereg.h and if_vgevar.h from HEAD and rebuild it). If your vge(4) controller use IC Plus IP1001PHY you may also want to download ip1000phy.c in HEAD to reliably establish 1000baseT link after waking up from WOL/resume. There is one unresolved TX performance issue though. I couldn't get more than 800Mbps on TCP bulk transfers. All PCIe controllers I'm aware of can get more than 900Mbps so there might be some missing bits in vge(4). From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 22:44:25 2010 Return-Path: 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 094F3106568B for ; Sun, 3 Jan 2010 22:44:25 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4978FC12 for ; Sun, 3 Jan 2010 22:44:24 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c122-106-232-83.belrs3.nsw.optusnet.com.au [122.106.232.83]) by mail12.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o03MiLBg029905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Jan 2010 09:44:22 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id o03Mi86l030901; Mon, 4 Jan 2010 09:44:08 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id o03Mi7bW030897; Mon, 4 Jan 2010 09:44:08 +1100 (EST) (envelope-from peter) Date: Mon, 4 Jan 2010 09:44:07 +1100 From: Peter Jeremy To: Aristedes Maniatis Message-ID: <20100103224407.GB76049@server.vk2pj.dyndns.org> References: <4AC141B0.4090705@delphij.net> <4B405C3D.7090501@ish.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: <4B405C3D.7090501@ish.com.au> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] Shutdown cooloff feature X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 22:44:25 -0000 --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Jan-03 19:58:37 +1100, Aristedes Maniatis wrote: >Why would an operating system have an unclean shutdown command at all? There are several different levels of "cleanliness": - "shutdown" optionally provides users with a warning of impending outage, cleanly stops applications then does "reboot" or similar. - "reboot" kills any running processes and then calls reboot(2) - reboot(2) sync's filesystems and physically reboots the host. In general, you should use "shutdown" because this ensures that everything is cleanly stopped. But there are cases where this isn't applicable: - On old Unix systems, you generally have to reboot without syncing disks if you need to fsck the root filesystem - Wedged applications might refuse to shutdown cleanly (especially on Solaris, a wedged application can wedge the entire shutdown process and require use of uadmin(1M) to reboot). OTOH, failing to shutdown cleanly can leave NFS servers thinking clients have filesystems mounted. And I've found that just rebooting my Sun SB1500 crashes the associated switch port (so I need to reboot my switch to recover) - I have no idea how it does this but both FreeBSD and OpenSolaris do it. --=20 Peter Jeremy --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktBHbcACgkQ/opHv/APuIdVdwCfeImKqLrCuqMAirMaIfv1XlIS SMgAn1AvKHm65Q42u/UCAj6Knhh9Ehs+ =OYnh -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1-- From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 08:15:12 2010 Return-Path: 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 5C715106566B for ; Mon, 4 Jan 2010 08:15:12 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from mail.jrv.org (adsl-70-243-84-13.dsl.austtx.swbell.net [70.243.84.13]) by mx1.freebsd.org (Postfix) with ESMTP id E92A98FC1B for ; Mon, 4 Jan 2010 08:15:11 +0000 (UTC) Received: from kremvax.housenet.jrv (kremvax.housenet.jrv [192.168.3.124]) by mail.jrv.org (8.14.3/8.14.3) with ESMTP id o048F9FK078676; Mon, 4 Jan 2010 02:15:09 -0600 (CST) (envelope-from james-freebsd-current@jrv.org) Authentication-Results: mail.jrv.org; domainkeys=pass (testing) header.from=james-freebsd-current@jrv.org DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=kIJ08st54tsSLuhpSq8FSrPSJbia0ffGnmkP/hAKKtx9Rw1jye0yrPQ3DxZqqYvR+ 2GFUH2A9QsMMDz7k47mmUlDJzafKnZ93Q9k7YpcNoyjMXkxkZ/ubTcv+cDu0OGoIPIR 39hX7bQjINZKCIoF3OXsvRkOeha6vPR1tboCcnc= Message-ID: <4B41A38D.6050007@jrv.org> Date: Mon, 04 Jan 2010 02:15:09 -0600 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: John Baldwin References: <20091227232425.GA38213@bsdcrew.de> <200912281104.30930.jhb@freebsd.org> <179b97fb0912280846t286beec2p7307f255f96d89a3@mail.gmail.com> <200912281244.35106.jhb@freebsd.org> In-Reply-To: <200912281244.35106.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Martin Wilke Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 08:15:12 -0000 John Baldwin wrote: >> I'm seeing this as well: >> >> kernel: link_elf_obj: symbol _Z6strlenPKc undefined >> >> ...which, I suppose, is the real kldload error message. > > Looks like it is trying to use a C++ named-version of strlen(): > > % echo _Z6strlenPKc | c++filt > strlen(char const*) > > Is the kernel module compiled using c++ instead of cc? Here is where the symbol is coming from: [root@xwin /usr/ports/emulators/virtualbox-ose-additions]# find . -name \*.o | while read X; do nm "$X" | grep _Z6strlenPKc && echo $X; done U _Z6strlenPKc ./work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/release/obj/RuntimeGuestR0/common/misc/thread.o U _Z6strlenPKc ./work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/release/obj/RuntimeGuestR0/common/log/log.o U _Z6strlenPKc ./work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/release/obj/RuntimeGuestR0/common/path/RTPathAbsEx.o U _Z6strlenPKc ./work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/release/obj/RuntimeGuestR0/common/path/RTPathAppend.o U _Z6strlenPKc ./work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/release/obj/RuntimeGuestR0/common/string/strformattype.o U _Z6strlenPKc ./work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/release/obj/RuntimeGuestR0/common/string/string.o [root@xwin /usr/ports/emulators/virtualbox-ose-additions]# And here are some presumed source files: [root@xwin /usr/ports/emulators/virtualbox-ose-additions]# find . -name thread.c\* ./work/VirtualBox-3.1.2_OSE/src/VBox/Runtime/common/misc/thread.cpp ./work/VirtualBox-3.1.2_OSE/src/VBox/Additions/x11/VBoxClient/thread.cpp ./work/VirtualBox-3.1.2_OSE/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/thread.cpp [root@xwin /usr/ports/emulators/virtualbox-ose-additions]# src/VBox/Runtime/common/misc/thread.cpp contains: #include include/iprt/string.h has this: #elif defined(RT_OS_FREEBSD) && defined(_KERNEL) # include It seems sys/libkern.h is C namespace but thread.cpp or iprt/string.h isn't using extern "C" to make it that. From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 17:12:39 2010 Return-Path: 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 586BE10656A7; Mon, 4 Jan 2010 17:12:39 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACA98FC27; Mon, 4 Jan 2010 17:12:37 +0000 (UTC) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id o04HCFsj014697; Mon, 4 Jan 2010 09:12:15 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.3/Submit) id o04HBsRg014693; Mon, 4 Jan 2010 09:11:54 -0800 (PST) (envelope-from david) Date: Mon, 4 Jan 2010 09:11:54 -0800 From: David Wolfskill To: martinko Message-ID: <20100104171154.GE86359@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , martinko , freebsd-stable@freebsd.org, freebsd-current@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="684cmtc/Pyvt2LSS" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 8.0 regression: consecutive panics (iwi / wlan / zfs ?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 17:12:39 -0000 --684cmtc/Pyvt2LSS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 04, 2010 at 04:13:36PM +0100, martinko wrote: > ... >=20 > I have used versions 5.3 to 6.4 on this laptop, the last one being the=20 > most stable and smooth. A few weeks ago I moved to 8.0 (fresh install)= =20 > and since then I've been experiencing funny issues. >=20 > Last night I was writing an email when I noticed my wi-fi link was gone.= =20 > I checked /var/log/messages and saw the following: >=20 > wlan0: link state changed to DOWN > wlan0: link state changed to UP > wlan0: link state changed to DOWN > wlan0: link state changed to UP > wlan0: link state changed to DOWN > wlan0: link state changed to UP > ... While I do not currently use ZFS, the wireless NIC I have been using most often for the last several months has been iwi0 on my laptop, on which I track stable/6, stable/7, stable/8, and head on a daily basis. While I have seen the interface bounce dwn & up repeatedly, and it refuses to communicate with an Apple Airport AP (while working with a Linksys WAP11) under head (but the Airport is OK for stable/6 and stable/7; not sure about stable/8), it has been (at least) several weeks since my last panic, so I am inclined to suggest that iwi(4) and wlan(4) are unlikely to be involved in the root cause of the panic. Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --684cmtc/Pyvt2LSS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAktCIVkACgkQmprOCmdXAD1DrgCfelffl9knzYXexw5vyXKAbOq1 AuUAniVkz19QkPSchHr66x6aiGdUwPEt =5nXk -----END PGP SIGNATURE----- --684cmtc/Pyvt2LSS-- From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 17:20:06 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E99411065676; Mon, 4 Jan 2010 17:20:05 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7A44D8FC19; Mon, 4 Jan 2010 17:20:05 +0000 (UTC) Received: from [77.41.108.53] (port=26307 helo=HP.lissyara.su) by hosting.lissyara.su with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NRqb5-00091P-HB; Mon, 04 Jan 2010 20:20:03 +0300 Message-ID: <4B422343.40105@lissyara.su> Date: Mon, 04 Jan 2010 20:20:03 +0300 From: Alex Keda User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Alex Keda , Paul B Mahol , David Horn , current@freebsd.org, Gonzalo Nemmi , Attilio Rao , Aditya Sarawgi , Andrea Di Pasquale References: <20091223035331.GA1293@weongyo> <4B3250E7.1000509@lissyara.su> <20091223201438.GD1293@weongyo> <4B32822D.30201@lissyara.su> <4B34E7E8.1040009@lissyara.su> <20100101231116.GD1491@weongyo> In-Reply-To: <20100101231116.GD1491@weongyo> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Cc: Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 17:20:06 -0000 Weongyo Jeong ïèøåò: > On Fri, Dec 25, 2009 at 07:27:20PM +0300, Alex Keda wrote: >> Alex Keda ïèøåò: >>> Weongyo Jeong ïèøåò: >>>> It's caused by unexpected SSB core. Could you please test with attached >>>> patch with email and tell me the result? >>> All OK >>> >>> ssb0: mem 0xc8000000-0xc8003fff >>> irq 18 at device 0.0 on pci48 >>> ssb0: unsupportted coreid 0x817 >>> info: [drm] Num pipes: 1 >>> bwn0 on ssb0 >>> bwn0: WLAN (chipid 0x4311 rev 13) PHY (analog 4 type 2 rev 9) RADIO >>> (manuf 0x17f ver 0x2050 rev 2) >>> bwn0: DMA (64 bits) >>> bwn0: [FILTER] >>> >>> scan - works. >>> HP# ifconfig wlan0 scan >>> SSID/MESH ID BSSID CHAN RATE S:N INT CAPS >>> 0x000000000 00:19:e1:00:e1:d0 1 54M -79:-95 100 ES WME >>> Beeline_WiFi 00:19:e1:00:e1:d1 1 54M -79:-95 100 ES WME >>> Beeline_WiF... 00:19:e1:00:e1:d2 1 54M -79:-95 100 EPS RSN WPA WME >>> HP# >>> >>> but, I can test it with access point only through two days >> so, it's work, but I have reproduce panic. >> >> I manually assign IP address: >> # ifconfig wlan0 192.168.250.2 >> then, run command: >> # /etc/netstart >> and I see: >> ..... >> wpa_supplicant[2084]: Failed to disable WPA in the driver >> bwn0: bwn_newstate: RUN -> INIT >> bwn0: TODO: bwn_leds_exit >> bwn0: bwn_bt_disable TODO >> Starting wpa_supplicant. >> bwn0: firmware version ( rev 410 patch 2160 date 0x751a time 0x7c0a) >> Kernel page fault with the following non-sleepable lock held: >> exclusive sleep mutex bwn0 (network driver) r = 0 (0xffffff005a769010) >> locked @/usr/src/sys/modules/bwn/../../dev/bwn/if_bwn.c:906 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a >> _witness_sebugger() at _witness_debugger+0x2e >> witness_warn() at witness_warn+0x2c2 >> trap() at trap+0x2ce >> calltrap() at calltrap+0x8 >> --- trap 0xc, rip = 0xffffffff81516070, rsp = 0xffffff803ceeaa40, rbp = >> 0xffffff803ceeaa80 --- >> bwn_dma_setup() at bwn_dma_setup+0x10 >> bwn_dma_init() at bwn_dma_init+0x32 >> bwn_core_init() at bwn_core_init+0x40f >> bwn_init_locked() at bwn_init_locked+0xae >> bwn_ioctl() at bwn_ioctl+0xff >> taskqueue_run() at taskqueue_run+0x91 >> taskqueue_thread_loop() at taskqueue_thread_loop+0x3f >> fork_exit() at fork_exit+0x12a >> fork_tramponline() at fork_tramponline+0xe >> --- trap 0, rip = 0, rsp = 0xffffff803ceead30, rbp = 0 --- >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 1; apic id = 01 >> fault virtual address = 0x0 >> fault code = supervisor read data, page not present >> instruction pointer = 0x20:0xffffffff81516070 >> stack pointer = 0x28:0xffffff803ceeaa40 >> frame pointer = 0x28:0xffffff803ceeaa80 >> 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 = 0 (bwn0 taskq) >> [thread pid 0 tid 100239 ] >> Stopped at bwn_dma_setup+0x10: movq (%rax), %rax > > Just come back from vacation. Could you please test with attached > patch? Additionally it could be downloaded at the following URL: > > http://people.freebsd.org/~weongyo/patch_bwn_20100101.diff Now, all OK. Thanks! =) From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 17:29:53 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0445D1065692; Mon, 4 Jan 2010 17:29:53 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 712DE8FC1B; Mon, 4 Jan 2010 17:29:52 +0000 (UTC) Received: from daedalus.network.local (gprs50.swisscom-mobile.ch [193.247.250.50]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o04HTnQD060857 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 4 Jan 2010 17:29:50 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4B4225D9.9050504@FreeBSD.org> Date: Mon, 04 Jan 2010 18:31:05 +0100 From: Beat Gaetzi User-Agent: Thunderbird 2.0.0.23 (X11/20090821) MIME-Version: 1.0 To: ports@FreeBSD.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-emulation@FreeBSD.org, current@FreeBSD.org Subject: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 17:29:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, First of all thanks a lot for all the valuable feedback. We have updated the ports to fix the reported problems: - - virtualbox-ose-additions: - Update to a more recent svn snapshot. The kernel module from 3.1.2 was not loadable. - Adjust pkg-descr and COMMENT to make it clear what additions are good for (Patch by dougb@) - Install rc.d style start script to load the kernel module - Add check if kernel sources are available - Mark BROKEN on FreeBSD 6.x - - virtualbox-ose-kmod: - Install rc.d style start script to load the network related kernel modules in correct order - Mark BROKEN on FreeBSD 6.x - - virtualbox-ose: - Update pkg-message to reflect recent changes - Add missing PulseAudio dependency New version of the tarball is available here: https://svn.bluelife.at/nightlies/virtualbox-port-r621.tar.gz Virtualbox 3.1.2 no longer requires procfs. If no other program requires /proc mounted you could remove /proc from /etc/fstab. If you are using the kernel modules for bridged or host-only networking please load the virtualbox kernel module via /boot/loader.conf: vboxdrv_load="YES" Then remove vboxnetflt or vboxnetadp entries from /boot/loader.conf and add this to /etc/rc.conf and reboot the machine afterwards: vboxnet_enable="YES" If you install virtualbox-ose-additions on a FreeBSD guest add this to /etc/rc.conf: vboxguest_enable="YES" The vboxvideo_drv should be recognized by "Xorg -configure". If not, use something like this in your xorg.conf for the video card: Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional Identifier "Card0" Driver "vboxvideo" VendorName "InnoTek Systemberatung GmbH" BoardName "VirtualBox Graphics Adapter" BusID "PCI:0:2:0" EndSection To use vboxmouse_drv please adjust the mouse section in your xorg.conf like this: Section "InputDevice" Identifier "Mouse0" Driver "vboxmouse" EndSection Thanks, Beat, on behalf of the FreeBSD Vbox Team - -- Beat Gätzi | FreeBSD Committer beat@FreeBSD.org | http://www.FreeBSD.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktCJdkACgkQQMW893dCSdu5EwCeL9N3aU+LvuZuzDJtnWZ1iTjt poUAnRPvkh8pi19jwk7ZcbntZ7+Qptdj =nxR0 -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 19:07:32 2010 Return-Path: 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 8804D106566C for ; Mon, 4 Jan 2010 19:07:32 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from redwerk.com (redwerk.com [89.105.196.9]) by mx1.freebsd.org (Postfix) with ESMTP id 1C2E88FC1D for ; Mon, 4 Jan 2010 19:07:31 +0000 (UTC) Received: from [192.168.250.5] (helo=office.redwerk.com) by redwerk.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NRsGp-0000ye-Gb for freebsd-current@freebsd.org; Mon, 04 Jan 2010 20:07:30 +0100 Received: from bofh by office.redwerk.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NRsGo-000NpG-9u for freebsd-current@freebsd.org; Mon, 04 Jan 2010 21:07:14 +0200 Date: Mon, 4 Jan 2010 21:07:14 +0200 From: Eugene Dzhurinsky To: freebsd-current@freebsd.org Message-ID: <20100104190714.GA91546@office.redwerk.com> Mail-Followup-To: freebsd-current@freebsd.org References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 19:07:32 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote: > On 1/3/10, Eugene Dzhurinsky wrote: > > On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: > >> On 12/25/09, Eugene Dzhurinsky wrote: > >> > On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: > >> >> Have you tried using if_ndis? > >> > The kernel module I've created just hangs once loaded :( > >> This is on amd64? > > > > No, i386 >=20 > Is anything displayed on console? Are you sure you are using > 5.1 driveres (for XP) and not newer ones? I am using xp3264-7.7.0.329-whql.zip file from Atheros.=20 When trying to convert the ones athwx.sys and netathwx.inf I am getting the error: ndiscvt: line 5117: : syntax error. CONVERSION FAILED same for netathw.inf athw.sys I'm sure that worked for me earlier. > Could you please test code from here: > http://gitorious.org/ndisulator Sorry, I'm not sure that I understand how to use that. Should I copy the folders to /usr/src and rebuild world and kernel? --=20 Eugene N Dzhurinsky --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAktCPGEACgkQy/i/DoZLbHxAjgCfVPY+Falpl55PMCTMoczZYaiP edUAnRiiHXlw+3rQjJU25aI37w7Zj5GA =0all -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 19:14:11 2010 Return-Path: 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 854481065693 for ; Mon, 4 Jan 2010 19:14:11 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 17FFE8FC1D for ; Mon, 4 Jan 2010 19:14:10 +0000 (UTC) Received: by ewy26 with SMTP id 26so13418451ewy.3 for ; Mon, 04 Jan 2010 11:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=5qtee6GseU/7t2lKfdP6uS8n02/T2774kXF+uk9C51o=; b=ukZZuNVss19EXqcm+aM6VHRH/IGMDqHImgsd3qUt/3AuocSheszXqU3V3BAEUnAcRO JCGP77vFcBIwP+PJdUy4rr6LpTbr9Ab9DzMDDOXc5H5b0yf5zIzCNRH6birUzAOsT7k4 UysXGvO2cHAaxKVD3RX7Rjv46nYr7s3iAR+k0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Zw/2mfkULUq6bIruB1Ig7fXd7xfwDwfItg9srRFwyp451lAGthHSozB4fRdMMwzcyF ArDiUNNQ7hTgAb3xWYPoz9PDbeYPv6yX0vFTmjE4y3Kf3HbIUq/qQ5cJKCi4UQPSCSTH sy9h8VTLGOY4AXgVv7U4yPUMpac3Po6iuD57k= MIME-Version: 1.0 Received: by 10.213.41.207 with SMTP id p15mr722080ebe.26.1262632438309; Mon, 04 Jan 2010 11:13:58 -0800 (PST) In-Reply-To: <20100104190714.GA91546@office.redwerk.com> References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> Date: Mon, 4 Jan 2010 20:13:57 +0100 Message-ID: <3a142e751001041113q104d8ddexcaf483bf46500dc1@mail.gmail.com> From: Paul B Mahol To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 19:14:11 -0000 On 1/4/10, Eugene Dzhurinsky wrote: > On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote: >> On 1/3/10, Eugene Dzhurinsky wrote: >> > On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: >> >> On 12/25/09, Eugene Dzhurinsky wrote: >> >> > On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: >> >> >> Have you tried using if_ndis? >> >> > The kernel module I've created just hangs once loaded :( >> >> This is on amd64? >> > >> > No, i386 >> >> Is anything displayed on console? Are you sure you are using >> 5.1 driveres (for XP) and not newer ones? > > I am using xp3264-7.7.0.329-whql.zip file from Atheros. > > When trying to convert the ones athwx.sys and netathwx.inf I am getting the > error: > > ndiscvt: line 5117: : syntax error. > CONVERSION FAILED > > same for > > netathw.inf athw.sys > > I'm sure that worked for me earlier. > >> Could you please test code from here: >> http://gitorious.org/ndisulator > > Sorry, I'm not sure that I understand how to use that. Should I copy the > folders to /usr/src and rebuild world and kernel? Just use mount_nullfs, no need to change files. -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 19:30:42 2010 Return-Path: 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 B0D9E106566C for ; Mon, 4 Jan 2010 19:30:42 +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 94C018FC0C for ; Mon, 4 Jan 2010 19:30:42 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NRsdV-0006ma-Rk for freebsd-current@freebsd.org; Mon, 04 Jan 2010 11:30:41 -0800 Message-ID: <27018048.post@talk.nabble.com> Date: Mon, 4 Jan 2010 11:30:41 -0800 (PST) From: RuiDC To: freebsd-current@freebsd.org In-Reply-To: <4B4225D9.9050504@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ruidc@yahoo.com References: <4B4225D9.9050504@FreeBSD.org> X-Mailman-Approved-At: Mon, 04 Jan 2010 19:36:48 +0000 Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 19:30:42 -0000 virtualbox-ose-additions now compile and install fine in FreeBSD 8.0 Guest (Win7x64 Host) - previous snapshot had the reported symbol error. Clipboard sharing and mouse integration not running (presumably this needs X11 to run which i am not using?) Great work! RuiDC -- View this message in context: http://old.nabble.com/Call-for-tester%3A-VirtualBox-3.1.2-for-FreeBSD-%28take-2%29-tp27016220p27018048.html Sent from the freebsd-current mailing list archive at Nabble.com. From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 21:33:40 2010 Return-Path: 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 3B018106568B for ; Mon, 4 Jan 2010 21:33:40 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 174848FC15 for ; Mon, 4 Jan 2010 21:33:39 +0000 (UTC) Received: by pwi15 with SMTP id 15so10482931pwi.3 for ; Mon, 04 Jan 2010 13:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=SFgVWqa+NdR/jnKc9cax0pNTZLv4cHRXjgAye2Fvp4I=; b=wN2n2F3xKR6LIUuRNR6KTqQb8xjlNTn31KRSs7gEONbSXATAj+Hp4brSby+pQvuQLT p8BW9SQjSty2Kz9QXuu4ahTD9wQr/W9BL2AKK9bStYVrm1+mrAj57T5wHxvuvJwzHMnO I+100Aeh/4nzz2gdlvIEbHvoTbUVL812LznDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=nbaB1vtwC1LvtXS8rztnxRn6IqPDzHVBhUFkgJAY/BhBKBLX0uvjAw/QsGhRZj7LFY 4zVnK7wZ9uonztyKmz52OaZEaiTKfzKG63R7pPIWJPl6GmZ/KvInXXQGnPozwTsKzfwi niQn1+nY23eHBuA7EQeosj2McjEbMt6ZRmVfM= MIME-Version: 1.0 Received: by 10.114.248.33 with SMTP id v33mr3912488wah.77.1262640813877; Mon, 04 Jan 2010 13:33:33 -0800 (PST) Date: Mon, 4 Jan 2010 13:33:33 -0800 Message-ID: From: Xin LI To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Ed Schouten Subject: ^L on console? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 21:33:40 -0000 Hi, It seems that ^L behaves differently on console. Before login, it won't clear the screen and put the cursor to the left-up corner, while with login and csh, it would do what it's supposed to do. This behavior seems to be different from older FreeBSD releases, is it related to the recent console driver changes (and is the expected behavior)? Cheers, -- Xin LI http://www.delphij.net From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 21:44:58 2010 Return-Path: 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 AC216106566C for ; Mon, 4 Jan 2010 21:44:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 75BBA8FC19 for ; Mon, 4 Jan 2010 21:44:58 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id DC7DA1CCC4; Mon, 4 Jan 2010 22:44:57 +0100 (CET) Date: Mon, 4 Jan 2010 22:44:57 +0100 From: Ed Schouten To: Xin LI Message-ID: <20100104214457.GU64905@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ERFGACTZY/KToZzC" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org Subject: Re: ^L on console? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 21:44:58 -0000 --ERFGACTZY/KToZzC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Xin, * Xin LI wrote: > It seems that ^L behaves differently on console. Before login, it > won't clear the screen and put the cursor to the left-up corner, while > with login and csh, it would do what it's supposed to do. >=20 > This behavior seems to be different from older FreeBSD releases, is it > related to the recent console driver changes (and is the expected > behavior)? Even though it's different than previous releases of FreeBSD, it is the expected behaviour. FreeBSD 9 uses an xterm-like terminal emulation. Xterm doesn't seem to blank the screen when it echoes a ^L. login and csh do blank the screen, but they do it by hand. I could change it, but I'm afraid it breaks stuff... :-) --=20 Ed Schouten WWW: http://80386.nl/ --ERFGACTZY/KToZzC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAktCYVkACgkQ52SDGA2eCwV+9QCffd8hk8O2vu2skdM+vL+AA0Rr QTQAn1wo+dpPyI86kFVM4C2pmw2Rgl5u =PrQ1 -----END PGP SIGNATURE----- --ERFGACTZY/KToZzC-- From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 21:47:55 2010 Return-Path: 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 EE0361065692 for ; Mon, 4 Jan 2010 21:47:55 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id B82468FC12 for ; Mon, 4 Jan 2010 21:47:55 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 2C8711CCC4; Mon, 4 Jan 2010 22:47:55 +0100 (CET) Date: Mon, 4 Jan 2010 22:47:55 +0100 From: Ed Schouten To: Xin LI Message-ID: <20100104214755.GV64905@hoeg.nl> References: <20100104214457.GU64905@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/ub/ouu/U6vJloRC" Content-Disposition: inline In-Reply-To: <20100104214457.GU64905@hoeg.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org Subject: Re: ^L on console? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 21:47:56 -0000 --/ub/ouu/U6vJloRC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ed Schouten wrote: > Hi Xin, >=20 > * Xin LI wrote: > > It seems that ^L behaves differently on console. Before login, it > > won't clear the screen and put the cursor to the left-up corner, while > > with login and csh, it would do what it's supposed to do. > >=20 > > This behavior seems to be different from older FreeBSD releases, is it > > related to the recent console driver changes (and is the expected > > behavior)? >=20 > Even though it's different than previous releases of FreeBSD, it is the > expected behaviour. FreeBSD 9 uses an xterm-like terminal emulation. > Xterm doesn't seem to blank the screen when it echoes a ^L. login and > csh do blank the screen, but they do it by hand. >=20 > I could change it, but I'm afraid it breaks stuff... :-) As a side note, you can test this yourself by doing this inside an xterm: stty -echoctl cat --=20 Ed Schouten WWW: http://80386.nl/ --/ub/ouu/U6vJloRC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAktCYgsACgkQ52SDGA2eCwWjEwCfaiQFVJPXSlYXV9VgesWSkJlG WnIAniWM9CS+UAK+7HG0YLgWsWFfmUTC =dFhi -----END PGP SIGNATURE----- --/ub/ouu/U6vJloRC-- From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 21:51:06 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B042C1065692; Mon, 4 Jan 2010 21:51:06 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7B58A8FC1C; Mon, 4 Jan 2010 21:51:06 +0000 (UTC) Received: by pxi12 with SMTP id 12so9739260pxi.3 for ; Mon, 04 Jan 2010 13:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=SIvzOxe2Aw8XqMHsLX1PiR9EARYiYtvCEKJfcgpZPOI=; b=u5bZjAq1ajQ9KLL/VszeW21abgRIf8eMLk7MtclMGm38KT7LhSjnN0vu058InT64r2 Tx9BEmfUoMnwJdRARdlMehq0nsbmx/FlaDMm6A/Aku1wP9pKLkeOnEjyWTerzF1FBGEy UFgS1vZaGd9qBkYPpGGX3y4XUGfT1ePWDv8xM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=W/5JobjkrBfmE9OkRQpM4uQ9sozsU/KoniAkt5ovwjtqEPdBPoDKEw7Av3V+OYlle/ qthUxmN4LEtsabHZ/0P1oh+S2/5SOg7cr5JOM54SGC+i34nGOcX+8QYYI/jUyNeUyIgp Znjdhxl/eBJgdOYN+d2czBel+Rk+1+2YmZRE4= MIME-Version: 1.0 Received: by 10.142.61.33 with SMTP id j33mr14500276wfa.236.1262641861843; Mon, 04 Jan 2010 13:51:01 -0800 (PST) In-Reply-To: <4B4225D9.9050504@FreeBSD.org> References: <4B4225D9.9050504@FreeBSD.org> Date: Mon, 4 Jan 2010 15:51:01 -0600 Message-ID: <179b97fb1001041351j46180b42hcaf3d04959ed64a0@mail.gmail.com> From: Brandon Gooch To: Beat Gaetzi Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, current@freebsd.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 21:51:06 -0000 Working great here! I'm running it on a couple of notebooks and a desktop. Hosts: FreeBSD 9.0-CURRENT, FreeBSD 8.0-STABLE Guests: Windows XP SP3 32-bit Windows 7 32-bit PC-BSD 8.0 BETA (with virtualbox-ose-additions; video and mouse integration working properly) -Brandon From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 22:11:32 2010 Return-Path: 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 651941065695; Mon, 4 Jan 2010 22:11:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (unknown [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id D3A388FC0C; Mon, 4 Jan 2010 22:11:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o04M2FT8063484; Mon, 4 Jan 2010 15:02:15 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 04 Jan 2010 15:02:57 -0700 (MST) Message-Id: <20100104.150257.746477001028363176.imp@bsdimp.com> To: rwatson@freebsd.org From: "M. Warner Losh" In-Reply-To: References: <4B23F10F.1010608@lissyara.su> <4B23FBA1.4070002@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: admin@lissyara.su, dougb@freebsd.org, freebsd-current@freebsd.org Subject: Re: May be include in GENERIC option INCLUDE_CONFIG_FILE? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 22:11:32 -0000 In message: Robert Watson writes: : : On Sat, 12 Dec 2009, Doug Barton wrote: : : > Alex Keda wrote: : >> For those who have recently engaged in FreeBSD, and inexperienced : >> managers who have inherited a server "by inheritance" is often the : >> question arises - where to find the configuration file in which to : >> compile your kernel? (Of course, a file by that time there =)) : > : > I actually thought that was already done, but I see now that it's : > not. I would like to see this as well, any objections? : : I'd say go for it. It's not perfect, but given modern memory sizes : for systems using GENERIC, I'd say the administrative benefit is well : worth it. People doing embeddded will cut it as well as lots of other : stuff in GENERIC anyway. I didn't see this discussion until now, since it was burried in -current. I'd say go ahead and add it to GENERIC (and I'll be happy do do that now that I've backed it out of DEFAULTS). But it does not belong in DEFAULTS. That file is not for this sort of thing. That file is only for those options required to build a bootable kernel, or for those options that went from being NO_FOO to FOO and/or from being standard to being optional (like device mem). There's also a desire to eliminate this file entirely when something better comes along. I'm planning on including standard files so that we can easily add things in one place instead of many that will be better than DEFAULTS in the next month or so. I've worked through several prototypes, none of which have been suitable to share with the wider world, but each one better than the one before... I'll post to arch@ when I have a proposal. Warner From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 00:19:01 2010 Return-Path: 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 C60511065694 for ; Tue, 5 Jan 2010 00:19:01 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 78B018FC0C for ; Tue, 5 Jan 2010 00:19:01 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o0505EV4029302; Mon, 4 Jan 2010 19:05:14 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o0505EPS029301; Mon, 4 Jan 2010 19:05:14 -0500 (EST) Date: Mon, 4 Jan 2010 19:05:14 -0500 From: Thomas Dickey To: Ed Schouten Message-ID: <20100105000514.GA28599@saltmine.radix.net> References: <20100104214457.GU64905@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20100104214457.GU64905@hoeg.nl> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org Subject: Re: ^L on console? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 00:19:01 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 04, 2010 at 10:44:57PM +0100, Ed Schouten wrote: > Hi Xin, >=20 > * Xin LI wrote: > > It seems that ^L behaves differently on console. Before login, it > > won't clear the screen and put the cursor to the left-up corner, while > > with login and csh, it would do what it's supposed to do. > >=20 > > This behavior seems to be different from older FreeBSD releases, is it > > related to the recent console driver changes (and is the expected > > behavior)? >=20 > Even though it's different than previous releases of FreeBSD, it is the > expected behaviour. FreeBSD 9 uses an xterm-like terminal emulation. > Xterm doesn't seem to blank the screen when it echoes a ^L. login and > csh do blank the screen, but they do it by hand. That's correct - terminals that clear the screen (without the terminal driver helping) on a control/F are a small minority. (PuTTY and Sun's consoles are the main exceptions, and neither is xterm...). --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFLQoI1tIqByHxlDocRAkghAJ9K1x7Zf8cVzdpcYCqIjiH1iEbZpgCeM4OT BItnedDOb3ImqB2zUEr7P40= =e4nN -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 00:51:52 2010 Return-Path: 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 C3F10106566C for ; Tue, 5 Jan 2010 00:51:52 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 58AE08FC1A for ; Tue, 5 Jan 2010 00:51:52 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so1827860fgg.13 for ; Mon, 04 Jan 2010 16:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mpBIRvHV9fTI6fAappomRZz30/4SvP2Qxas2ssM0qLM=; b=a4glsbDoS4UgUaD2Qv1X768fvXGPKO0NsD5Ch8zhGV5kupQ1IDJXxkzpyUbgzNxGjo S+cJya2lWOrifOjeZHqWcQVdY4L8u7rOpdCh4QCRU4ik9QSh4j0K13uWtAzlZVyWhw05 rR3k4B1+0unPCINIlxojZIsvQPEWvWS0V3zcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EfP4Lj5qP5+vFW9vdCGLCWlSQHeqg0SmmZE1HlZ0eP0rCC+tjfuS7qlqFOpOd/XlLs mspkuNp4vKqmEz0e72nCMc1y6A1juMnD4pPsKt06WB59oVSckgxyWdIMOg7Ui7aoJBMg Wb5w+rTLQkSNWB0t7oxamcUcduUruMl4Vd2ik= MIME-Version: 1.0 Received: by 10.239.189.13 with SMTP id r13mr1527940hbh.92.1262652703605; Mon, 04 Jan 2010 16:51:43 -0800 (PST) In-Reply-To: <25ff90d61001022118y3c2a4ddcr30fd5283af065346@mail.gmail.com> References: <25ff90d61001022118y3c2a4ddcr30fd5283af065346@mail.gmail.com> Date: Mon, 4 Jan 2010 19:51:43 -0500 Message-ID: <25ff90d61001041651gf4509ads4d023320471ab74d@mail.gmail.com> From: David Horn To: Qing Li , freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: netinet6/in6.c r201282 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 00:51:52 -0000 On Sun, Jan 3, 2010 at 12:18 AM, David Horn wrote: > Qing -- > > I have been having some issues with local ipv6 routes to machines that > are supposed to be on-link (attached to the same ethernet switch as my > test FreeBSD 9.0 box, and in the same /64) not being able to be > accessed properly after r201282. > > Simple ping6 to the host does not result in a echo response once the > ndp entries go stale. (from looking at ndp -a) > > I noticed that there seems to be a missing /64 on the routing table > entry, and doing a "route get -inet6 $hostname" for a host that is > supposed to be on-link and in the same /64 results in a routing entry > that points to the default router instead of the appropriate route for > the /64. > > I have attached both a working (route.good.txt) and broken > (route.bad.txt) routing table (from netstat -rWnfinet6) > > Let me know if you want a tcpdump, or other configuration data. > > I can get it to work again if I hack up in6.c (not a valid fix TTBOMK) li= ke so: > > Index: in6.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- in6.c =A0 =A0 =A0 (revision 201413) > +++ in6.c =A0 =A0 =A0 (working copy) > @@ -1766,8 +1766,6 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|| (ifp->if_flags & IFF_LOOPBACK))) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0error =3D ifa_add_loopback_route((struct i= faddr *)ia, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 (struct sockaddr *)&ia->ia_addr); > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (error =3D=3D 0) > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ia->ia_flags |=3D IFA_RTSEL= F; > =A0 =A0 =A0 =A0} > > =A0 =A0 =A0 =A0/* Add ownaddr as loopback rtentry, if necessary (ex. on p= 2p link). */ > > > uname -a > FreeBSD la 9.0-CURRENT FreeBSD 9.0-CURRENT #15 r201407:201413: Sat Jan > =A02 22:36:31 EST 2010 =A0 =A0 dhorn@la:/usr/obj/usr/src/sys/DHORN =A0amd= 64 > > > --Thanks! > > ---Dave Horn > Qing -- Thanks for the fix. r201543 seems to work well for me so far. --Dave Horn From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 06:26:12 2010 Return-Path: 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 478A01065730 for ; Tue, 5 Jan 2010 06:26:12 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id DEBE58FC2B for ; Tue, 5 Jan 2010 06:26:11 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0562HiG020324 for ; Tue, 5 Jan 2010 16:32:17 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Tue, 5 Jan 2010 16:34:42 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 5 Jan 2010 16:34:42 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 5 Jan 2010 14:04:41 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0567mMF016323 for ; Tue, 5 Jan 2010 14:07:48 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0567mYi016322 for freebsd-current@freebsd.org; Tue, 5 Jan 2010 14:07:48 +0800 (WST) (envelope-from wilkinsa) Date: Tue, 5 Jan 2010 14:07:48 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 05 Jan 2010 06:04:41.0185 (UTC) FILETIME=[F848DD10:01CA8DCC] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17112.004 X-TM-AS-Result: No--8.839900-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Subject: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 06:26:12 -0000 This seems to be happening often to me :( FreeBSD 9.0-CURRENT #2 r200661: Fri Dec 18 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) r = 0 (0xc0f65280) locked @ /usr/src/sys/vm/vm_page.c:1052 exclusive sleep mutex vm object (standard object) r = 0 (0xc207bee0) locked @ /usr/src/sys/vm/vm_fault.c:269 KDB: stack backtrace: db_trace_self_wrapper(c0c94824,e8986954,c08ceab5,c0cba8a5,10d,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0cba8a5,10d,ffffffff,c0f2bbfc,e898698c,...) at kdb_backtrace+0x29 _witness_debugger(c0c96cd9,e89869a0,4,1,0,...) at _witness_debugger+0x25 witness_warn(5,0,c0ccb229,c0df122c,c69e6d48,...) at witness_warn+0x1fd trap(e8986a2c) at trap+0x19e calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0afd732, esp = 0xe8986a6c, ebp = 0xe8986ac0 --- vm_reserv_alloc_page(c207bee0,58a5,0,37e,c207bee0,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207bee0,58a5,0,40,e8986c0c,...) at vm_page_alloc+0x25e vm_fault(c684c1d0,2e129000,2,0,2e129000,...) at vm_fault+0x575 trap_pfault(5,0,c0ccb229,2f0,c69e6d48,...) at trap_pfault+0x10d trap(e8986d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ecba, esp = 0xbfbfe454, ebp = 0xbfbfe468 --- Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 03 fault virtual address = 0xc445cf80 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0afd732 stack pointer = 0x28:0xe8986a6c frame pointer = 0x28:0xe8986ac0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = 1430 (initial thread) [thread pid 1430 tid 100141 ] Stopped at vm_reserv_alloc_page+0x102: cmpl %eax,0x10(%esi) db> lock order reversal: (Giant after non-sleepable) 1st 0xc0f65280 vm page queue free mutex (vm page queue free mutex) @ /usr/src/sys/vm/vm_page.c:1052 2nd 0xc0debed0 Giant (Giant) @ /usr/src/sys/dev/usb/input/ukbd.c:1594 KDB: stack backtrace: db_trace_self_wrapper(c0c94824,e89867a4,c08ceab5,c08bf76b,c0c9772d,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08bf76b,c0c9772d,c612a6c0,c61291a0,e8986800,...) at kdb_backtrace+0x29 _witness_debugger(c0c9772d,c0debed0,c0cb35e2,c61291a0,c0c82ff1,...) at _witness_debugger+0x25 witness_checkorder(c0debed0,9,c0c82ff1,63a,0,...) at witness_checkorder+0x839 _mtx_lock_flags(c0debed0,0,c0c82ff1,63a,c6730c60,...) at _mtx_lock_flags+0xc4 ukbd_poll(c68fc000,1,c6763000,1,e8986880,...) at ukbd_poll+0x48 kbdmux_poll(c6186200,1,c6763084,c0deab48,1,...) at kbdmux_poll+0x46 sc_cngetc(c0d39220,78,e8986898,c084c066,e89868b8,...) at sc_cngetc+0xc3 cncheckc(e89868b8,c04d1bc5,c0c3a16c,c04d2e70,e89868b4,...) at cncheckc+0x3a cngetc(c0c3a16c,c04d2e70,e89868b4,e89868f0,1,...) at cngetc+0x16 db_readline(c0dba260,78,e89868d4,c04d0806,c0c3a16c,...) at db_readline+0x75 db_read_line(c0c3a16c,e8986928,c04d26bd,c0cc7338,2,...) at db_read_line+0x1a db_command_loop(c0cc7338,2,0,e898690c,0,...) at db_command_loop+0x46 db_trap(c,0,7,28,e8986a2c,...) at db_trap+0xdd kdb_trap(c,0,e8986a2c,1,1,...) at kdb_trap+0x96 trap_fatal(5,0,c0ccb229,c0df122c,c69e6d48,...) at trap_fatal+0x2ef trap(e8986a2c) at trap+0x1ac calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0afd732, esp = 0xe8986a6c, ebp = 0xe8986ac0 --- vm_reserv_alloc_page(c207bee0,58a5,0,37e,c207bee0,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207bee0,58a5,0,40,e8986c0c,...) at vm_page_alloc+0x25e vm_fault(c684c1d0,2e129000,2,0,2e129000,...) at vm_fault+0x575 trap_pfault(5,0,c0ccb229,2f0,c69e6d48,...) at trap_pfault+0x10d trap(e8986d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ecba, esp = 0xbfbfe454, ebp = 0xbfbfe468 --- db> bt Tracing pid 1430 tid 100141 td 0xc69d56c0 vm_reserv_alloc_page(c207bee0,58a5,0,37e,c207bee0,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207bee0,58a5,0,40,e8986c0c,...) at vm_page_alloc+0x25e vm_fault(c684c1d0,2e129000,2,0,2e129000,...) at vm_fault+0x575 trap_pfault(5,0,c0ccb229,2f0,c69e6d48,...) at trap_pfault+0x10d trap(e8986d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ecba, esp = 0xbfbfe454, ebp = 0xbfbfe468 --- db> db> show pcpu 0 cpuid = 0 dynamic pcpu = 0xe6d380 curthread = 0xc69f96c0: pid 757 "syslogd" curpcb = 0xe8970d90 fpcurthread = none idlethread = 0xc6181480: pid 11 "idle: cpu0" APIC ID = 0 currentldt = 0x50 spin locks held: db> db> show pcpu 1 cpuid = 1 dynamic pcpu = 0x51fa380 curthread = 0xc6e39b40: pid 1679 "VirtualBox" curpcb = 0xeac7ad90 fpcurthread = none idlethread = 0xc61816c0: pid 11 "idle: cpu1" APIC ID = 1 currentldt = 0x50 spin locks held: db> db> show pcpu 2 cpuid = 2 dynamic pcpu = 0x51fd380 curthread = 0xc6181900: pid 11 "idle: cpu2" curpcb = 0xc5fd5d90 fpcurthread = none idlethread = 0xc6181900: pid 11 "idle: cpu2" APIC ID = 2 currentldt = 0x50 spin locks held: db> db> show pcpu 3 cpuid = 3 dynamic pcpu = 0x5200380 curthread = 0xc69d56c0: pid 1430 "initial thread" curpcb = 0xe8986d90 fpcurthread = 0xc69d56c0: pid 1430 "initial thread" idlethread = 0xc6181b40: pid 11 "idle: cpu3" APIC ID = 3 currentldt = 0x50 spin locks held: db> db> show lockedvnods Locked vnodes 0xc69c1660: tag ufs, type VDIR usecount 1, writecount 0, refcount 3 mountedhere 0 flags () v_object 0xc690e7f8 ref 0 pages 1 lock type ufs: SHARED (count 1) ino 1719306, on dev ad8s2a 0xc79a6880: tag ufs, type VREG usecount 2, writecount 1, refcount 3 mountedhere 0 flags () v_object 0xc75e9220 ref 0 pages 0 lock type ufs: EXCL by thread 0xc69f96c0 (pid 757) with shared waiters pending ino 1719630, on dev ad8s2a db> db> show locks exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) r = 0 (0xc0f65280) locked @ /usr/src/sys/vm/vm_page.c:1052 exclusive sleep mutex vm object (standard object) r = 0 (0xc207bee0) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc684c218) locked @ /usr/src/sys/vm/vm_map.c:3532 db> db> panic panic: from debugger cpuid = 3 KDB: stack backtrace: db_trace_self_wrapper(c0c94824,e8986768,c08948dd,c0df1880,0,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0df1880,0,c0c91e85,17b,c69d56c0,...) at kdb_backtrace+0x29 mi_switch(100,0,c0c92f4a,98c,3,...) at mi_switch+0x12d sched_bind(c69d56c0,0,c0c91293,118,e89867cc,...) at sched_bind+0x8a boot(c0c913d9,c0c913d9,c0c3a0bd,e8986804,3,...) at boot+0x47 panic(c0c3a0bd,e89868c8,c04d06c1,3,0,...) at panic+0x152 db_panic(3,0,ffffffff,e8986840,1,...) at db_panic+0x17 db_command(c0c3a16c,e8986928,c04d26bd,c0cc7338,2,...) at db_command+0x381 db_command_loop(c0cc7338,2,0,e898690c,0,...) at db_command_loop+0x5a db_trap(c,0,7,28,e8986a2c,...) at db_trap+0xdd kdb_trap(c,0,e8986a2c,1,1,...) at kdb_trap+0x96 trap_fatal(5,0,c0ccb229,c0df122c,c69e6d48,...) at trap_fatal+0x2ef trap(e8986a2c) at trap+0x1ac calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0afd732, esp = 0xe8986a6c, ebp = 0xe8986ac0 --- vm_reserv_alloc_page(c207bee0,58a5,0,37e,c207bee0,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207bee0,58a5,0,40,e8986c0c,...) at vm_page_alloc+0x25e vm_fault(c684c1d0,2e129000,2,0,2e129000,...) at vm_fault+0x575 trap_pfault(5,0,c0ccb229,2f0,c69e6d48,...) at trap_pfault+0x10d trap(e8986d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ecba, esp = 0xbfbfe454, ebp = 0xbfbfe468 --- db> -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 08:16:36 2010 Return-Path: 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 430ED106568B for ; Tue, 5 Jan 2010 08:16:36 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id BF4778FC1F for ; Tue, 5 Jan 2010 08:16:35 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o058E8mj009280; Tue, 5 Jan 2010 18:44:09 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Tue, 5 Jan 2010 18:46:34 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 5 Jan 2010 18:46:34 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 5 Jan 2010 16:16:32 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o058JeL9016965; Tue, 5 Jan 2010 16:19:40 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o058JdLr016964; Tue, 5 Jan 2010 16:19:39 +0800 (WST) (envelope-from wilkinsa) Date: Tue, 5 Jan 2010 16:19:39 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org, freebsd-emulation@freebsd.org Message-ID: <20100105081939.GB16239@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-emulation@freebsd.org References: <4B4225D9.9050504@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <4B4225D9.9050504@FreeBSD.org> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 05 Jan 2010 08:16:32.0909 (UTC) FILETIME=[640A23D0:01CA8DDF] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17112.005 X-TM-AS-Result: No--18.140300-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2)[SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 08:16:36 -0000 Works great for me also! Thanks! -Alex 0n Mon, Jan 04, 2010 at 06:31:05PM +0100, Beat Gaetzi wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, > >First of all thanks a lot for all the valuable feedback. We have updated >the ports to fix the reported problems: >- - virtualbox-ose-additions: > - Update to a more recent svn snapshot. The kernel module from 3.1.2 >was not loadable. > - Adjust pkg-descr and COMMENT to make it clear what additions are >good for (Patch by dougb@) > - Install rc.d style start script to load the kernel module > - Add check if kernel sources are available > - Mark BROKEN on FreeBSD 6.x > >- - virtualbox-ose-kmod: > - Install rc.d style start script to load the network related kernel >modules in correct order > - Mark BROKEN on FreeBSD 6.x > >- - virtualbox-ose: > - Update pkg-message to reflect recent changes > - Add missing PulseAudio dependency > >New version of the tarball is available here: >https://svn.bluelife.at/nightlies/virtualbox-port-r621.tar.gz > >Virtualbox 3.1.2 no longer requires procfs. If no other program requires >/proc mounted you could remove /proc from /etc/fstab. > >If you are using the kernel modules for bridged or host-only networking >please load the virtualbox kernel module via /boot/loader.conf: >vboxdrv_load="YES" > >Then remove vboxnetflt or vboxnetadp entries from /boot/loader.conf and >add this to /etc/rc.conf and reboot the machine afterwards: >vboxnet_enable="YES" > >If you install virtualbox-ose-additions on a FreeBSD guest add this to >/etc/rc.conf: >vboxguest_enable="YES" > >The vboxvideo_drv should be recognized by "Xorg -configure". If not, use >something like this in your xorg.conf for the video card: >Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > Identifier "Card0" > Driver "vboxvideo" > VendorName "InnoTek Systemberatung GmbH" > BoardName "VirtualBox Graphics Adapter" > BusID "PCI:0:2:0" >EndSection > >To use vboxmouse_drv please adjust the mouse section in your xorg.conf >like this: >Section "InputDevice" > Identifier "Mouse0" > Driver "vboxmouse" >EndSection > >Thanks, >Beat, on behalf of the FreeBSD Vbox Team IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 08:39:10 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E82E106566B; Tue, 5 Jan 2010 08:39:10 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from mail.anduin.net (mail.anduin.net [213.225.74.249]) by mx1.freebsd.org (Postfix) with ESMTP id 4D1B38FC14; Tue, 5 Jan 2010 08:39:10 +0000 (UTC) Received: from p5499b617.dip.t-dialin.net ([84.153.182.23] helo=[192.168.2.115]) by mail.anduin.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NS4cA-000BL3-ST; Tue, 05 Jan 2010 09:18:08 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Eirik_=D8verby?= In-Reply-To: <20091227232425.GA38213@bsdcrew.de> Date: Tue, 5 Jan 2010 09:18:06 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <575AE1A9-24EC-4E18-9236-C997B6AB7ECC@anduin.net> References: <20091227232425.GA38213@bsdcrew.de> To: Martin Wilke X-Mailer: Apple Mail (2.1077) Cc: ports@FreeBSD.org, freebsd-emulation@freebsd.org, current@freebsd.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 08:39:10 -0000 Hi, On 28. des. 2009, at 00.24, Martin Wilke wrote: > - Install new port: > # cd ../virtualbox-ose-kmod && make install clean > # cd ../virtualbox-ose && make install clean At this point, the install fails like thus: running install_egg_info Removing = /usr/local/lib/python2.6/site-packages/vboxapi-1.0-py2.6.egg-info Writing = /usr/local/lib/python2.6/site-packages/vboxapi-1.0-py2.6.egg-info (cd = /root/vbox/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/rele= ase/bin/sdk/bindings/xpcom/python && /bin/sh -c '(/usr/bin/find -d $0 $2 = | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/sbin/chown -R = root:wheel $1 && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} = \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- "*" = /usr/local/lib/python2.6/site-packages) /usr/local/bin/python2.6 -mcompileall = /usr/local/lib/python2.6/site-packages/xpcom/ Listing /usr/local/lib/python2.6/site-packages/xpcom/ ... Listing /usr/local/lib/python2.6/site-packages/xpcom/client ... Listing /usr/local/lib/python2.6/site-packages/xpcom/server ... pw: group 'vboxusers' already exists Adding group "vboxusers" failed... *** Error code 1 Stop in /root/vbox/virtualbox-ose. *** Error code 1 Stop in /root/vbox/virtualbox-ose. The vboxusers group does indeed exist: vboxusers:*:920: but has no users. Adding myself changes nothing. Should I install the current version from ports first, before trying to = ugprade to this snapshot? /Eirik From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 08:44:13 2010 Return-Path: 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 90C7B106566C; Tue, 5 Jan 2010 08:44:13 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6AFB88FC1B; Tue, 5 Jan 2010 08:44:13 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 8245846B66; Tue, 5 Jan 2010 03:44:12 -0500 (EST) Date: Tue, 5 Jan 2010 08:44:12 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "M. Warner Losh" In-Reply-To: <20100104.150257.746477001028363176.imp@bsdimp.com> Message-ID: References: <4B23F10F.1010608@lissyara.su> <4B23FBA1.4070002@FreeBSD.org> <20100104.150257.746477001028363176.imp@bsdimp.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: admin@lissyara.su, dougb@freebsd.org, freebsd-current@freebsd.org Subject: Re: May be include in GENERIC option INCLUDE_CONFIG_FILE? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 08:44:13 -0000 On Mon, 4 Jan 2010, M. Warner Losh wrote: > I'm planning on including standard files so that we can easily add things in > one place instead of many that will be better than DEFAULTS in the next > month or so. I've worked through several prototypes, none of which have > been suitable to share with the wider world, but each one better than the > one before... I'll post to arch@ when I have a proposal. Right, at this point what I'd really like to see is a sys/conf/GENERIC, GENERIC.std or the like that we can add generic things to in an MI fashion, which each architecture-specific GENERIC can explicitly include. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 09:24:34 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 327961065692; Tue, 5 Jan 2010 09:24:34 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from mail.anduin.net (mail.anduin.net [213.225.74.249]) by mx1.freebsd.org (Postfix) with ESMTP id E17498FC23; Tue, 5 Jan 2010 09:24:33 +0000 (UTC) Received: from p5499b617.dip.t-dialin.net ([84.153.182.23] helo=[192.168.2.115]) by mail.anduin.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NS5eR-000Gt2-BK; Tue, 05 Jan 2010 10:24:31 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Eirik_=D8verby?= X-Priority: 3 (Normal) In-Reply-To: Date: Tue, 5 Jan 2010 10:24:30 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091227232425.GA38213@bsdcrew.de> <575AE1A9-24EC-4E18-9236-C997B6AB7ECC@anduin.net> To: "Bernhard Froehlich" X-Mailer: Apple Mail (2.1077) Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, current@freebsd.org, Martin Wilke Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 09:24:34 -0000 On 5. jan. 2010, at 10.12, Bernhard Froehlich wrote: > On Tue, January 5, 2010 9:18 am, Eirik =D8verby wrote: >> Hi, >>=20 >> On 28. des. 2009, at 00.24, Martin Wilke wrote: >>=20 >>> - Install new port: >>> # cd ../virtualbox-ose-kmod && make install clean >>> # cd ../virtualbox-ose && make install clean >>=20 >> At this point, the install fails like thus: >>=20 >> running install_egg_info >> Removing = /usr/local/lib/python2.6/site-packages/vboxapi-1.0-py2.6.egg-info >> Writing = /usr/local/lib/python2.6/site-packages/vboxapi-1.0-py2.6.egg-info >> (cd >> = /root/vbox/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/rele= ase/bin/sdk/bindings/xpcom/python >> && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >>> /dev/null 2>&1) && /usr/sbin/chown -R root:wheel $1 && = /usr/bin/find >> -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 = -type >> f -exec chmod 444 $1/{} \;' -- "*" = /usr/local/lib/python2.6/site-packages) >> /usr/local/bin/python2.6 -mcompileall >> /usr/local/lib/python2.6/site-packages/xpcom/ >> Listing /usr/local/lib/python2.6/site-packages/xpcom/ ... >> Listing /usr/local/lib/python2.6/site-packages/xpcom/client ... >> Listing /usr/local/lib/python2.6/site-packages/xpcom/server ... >> pw: group 'vboxusers' already exists >> Adding group "vboxusers" failed... >> *** Error code 1 >>=20 >> Stop in /root/vbox/virtualbox-ose. >> *** Error code 1 >>=20 >> Stop in /root/vbox/virtualbox-ose. >>=20 >> The vboxusers group does indeed exist: >> vboxusers:*:920: >> but has no users. Adding myself changes nothing. >=20 > Looks a bit weird. The install script only needs and creates a = vboxusers > group so that it can install the files with the correct ownership. But = it Reason found. Nscd was running, and somehow had not updated its cache = for some reason. Restarted it, and now it works. Sorry about the noise. /Eirik > checks first if the group exists and that check seems to fail for an > unknown reason. Could you please send back the output of the following = 3 > commands? (as root) >=20 > pw group show vboxusers; echo $? >=20 > pw groupadd vboxusers -g 920 >=20 > grep vbox /etc/group >=20 >=20 >> Should I install the current version from ports first, before trying = to >> ugprade to this snapshot? >=20 > I think that should not change anything because the install script did = not > change for a long time. >=20 > My guess at the moment is that something in your /etc/group is > inconsistent or wrong so that the tools get confused. >=20 > --=20 > Bernhard Fr=F6hlich > http://www.bluelife.at/ >=20 >=20 From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 10:32:40 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80A34106566B for ; Tue, 5 Jan 2010 10:32:40 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5B28FC25 for ; Tue, 5 Jan 2010 10:32:39 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so506208eye.9 for ; Tue, 05 Jan 2010 02:32:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FwNo2PO+JhO0lZrAfL5Cedn8w6RZyDXskWWQIw7fv+g=; b=kgUkffdawoFGl0btx4xTFJ99rovPfnxFC7W3RBwP3oiKgoGZGLIrG9zUmZJIWcqJxV hhmFlSzdQJZHDWJsiGOXD8NyCCLlVXpGgcoyO3P0ew76ON+oWs6htqDt6cqlKIaMUKVs 9RY/henSZFSioAR+SF7JRP8S1dyGSx2p/zbKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ik2OKNMtC5YtKW8JJKZON3PgF2be0/OiFFbeKF99uBQAlbu0Grxmbw9dezwhLSfTQ2 ewy/EVkS4l06TKfgyZJBofPyf328JMCCOw85GZN4355JPV0qdTAA1tUcWBTuWWl6XsSm 9bRnGDuNijfpxbGVCQuTBUwysBgVvXQdRIQwo= MIME-Version: 1.0 Received: by 10.213.102.129 with SMTP id g1mr1164349ebo.41.1262687554293; Tue, 05 Jan 2010 02:32:34 -0800 (PST) Date: Tue, 5 Jan 2010 11:32:34 +0100 Message-ID: <3a142e751001050232g162110fqdff7f8f1dbf71e57@mail.gmail.com> From: Paul B Mahol To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: iwn firmware files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 10:32:40 -0000 Hi, iwn firmware files should be generated in /usr/obj directory and not in /usr/src. I like to mount src dir ro. -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 09:12:21 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15BB91065693; Tue, 5 Jan 2010 09:12:21 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 93F908FC0C; Tue, 5 Jan 2010 09:12:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=webmail.itac.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1NS5Sa-00017m-K5; Tue, 05 Jan 2010 10:12:16 +0100 Received: from 78.142.74.81 (SquirrelMail authenticated user decke@bluelife.at) by webmail.itac.at with HTTP; Tue, 5 Jan 2010 10:12:16 +0100 (CET) Message-ID: In-Reply-To: <575AE1A9-24EC-4E18-9236-C997B6AB7ECC@anduin.net> References: <20091227232425.GA38213@bsdcrew.de> <575AE1A9-24EC-4E18-9236-C997B6AB7ECC@anduin.net> Date: Tue, 5 Jan 2010 10:12:16 +0100 (CET) From: "Bernhard Froehlich" To: Eirik =?iso-8859-1?Q?=D8verby?= User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Tue, 05 Jan 2010 12:27:13 +0000 Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, current@freebsd.org, Martin Wilke Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 09:12:21 -0000 On Tue, January 5, 2010 9:18 am, Eirik Øverby wrote: > Hi, > > On 28. des. 2009, at 00.24, Martin Wilke wrote: > >> - Install new port: >> # cd ../virtualbox-ose-kmod && make install clean >> # cd ../virtualbox-ose && make install clean > > At this point, the install fails like thus: > > running install_egg_info > Removing /usr/local/lib/python2.6/site-packages/vboxapi-1.0-py2.6.egg-info > Writing /usr/local/lib/python2.6/site-packages/vboxapi-1.0-py2.6.egg-info > (cd > /root/vbox/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/python > && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 > >/dev/null 2>&1) && /usr/sbin/chown -R root:wheel $1 && /usr/bin/find > -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type > f -exec chmod 444 $1/{} \;' -- "*" /usr/local/lib/python2.6/site-packages) > /usr/local/bin/python2.6 -mcompileall > /usr/local/lib/python2.6/site-packages/xpcom/ > Listing /usr/local/lib/python2.6/site-packages/xpcom/ ... > Listing /usr/local/lib/python2.6/site-packages/xpcom/client ... > Listing /usr/local/lib/python2.6/site-packages/xpcom/server ... > pw: group 'vboxusers' already exists > Adding group "vboxusers" failed... > *** Error code 1 > > Stop in /root/vbox/virtualbox-ose. > *** Error code 1 > > Stop in /root/vbox/virtualbox-ose. > > The vboxusers group does indeed exist: > vboxusers:*:920: > but has no users. Adding myself changes nothing. Looks a bit weird. The install script only needs and creates a vboxusers group so that it can install the files with the correct ownership. But it checks first if the group exists and that check seems to fail for an unknown reason. Could you please send back the output of the following 3 commands? (as root) pw group show vboxusers; echo $? pw groupadd vboxusers -g 920 grep vbox /etc/group > Should I install the current version from ports first, before trying to > ugprade to this snapshot? I think that should not change anything because the install script did not change for a long time. My guess at the moment is that something in your /etc/group is inconsistent or wrong so that the tools get confused. -- Bernhard Fröhlich http://www.bluelife.at/ From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 13:44:31 2010 Return-Path: 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 88A24106566C for ; Tue, 5 Jan 2010 13:44:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 599EB8FC12 for ; Tue, 5 Jan 2010 13:44:31 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 09D6F46B23; Tue, 5 Jan 2010 08:44:31 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 17A028A025; Tue, 5 Jan 2010 08:44:30 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 5 Jan 2010 08:28:49 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> In-Reply-To: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001050828.49809.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 05 Jan 2010 08:44:30 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: "Wilkinson, Alex" Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 13:44:31 -0000 On Tuesday 05 January 2010 1:07:48 am Wilkinson, Alex wrote: > This seems to be happening often to me :( > > FreeBSD 9.0-CURRENT #2 r200661: Fri Dec 18 > > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) r = 0 > (0xc0f65280) locked @ /usr/src/sys/vm/vm_page.c:1052 > exclusive sleep mutex vm object (standard object) r = 0 (0xc207bee0) locked @ > /usr/src/sys/vm/vm_fault.c:269 > > KDB: stack backtrace: > db_trace_self_wrapper(c0c94824,e8986954,c08ceab5,c0cba8a5,10d,...) at > db_trace_self_wrapper+0x26 > kdb_backtrace(c0cba8a5,10d,ffffffff,c0f2bbfc,e898698c,...) at kdb_backtrace+0x29 > _witness_debugger(c0c96cd9,e89869a0,4,1,0,...) at _witness_debugger+0x25 > witness_warn(5,0,c0ccb229,c0df122c,c69e6d48,...) at witness_warn+0x1fd > trap(e8986a2c) at trap+0x19e > calltrap() at calltrap+0x6 > --- trap 0xc, eip = 0xc0afd732, esp = 0xe8986a6c, ebp = 0xe8986ac0 --- > vm_reserv_alloc_page(c207bee0,58a5,0,37e,c207bee0,...) at > vm_reserv_alloc_page+0x102 > vm_page_alloc(c207bee0,58a5,0,40,e8986c0c,...) at vm_page_alloc+0x25e > vm_fault(c684c1d0,2e129000,2,0,2e129000,...) at vm_fault+0x575 > trap_pfault(5,0,c0ccb229,2f0,c69e6d48,...) at trap_pfault+0x10d > trap(e8986d38) at trap+0x2d0 > calltrap() at calltrap+0x6 > --- trap 0xc, eip = 0x2834ecba, esp = 0xbfbfe454, ebp = 0xbfbfe468 --- Are you able to get a crashdump and examine it with kgdb? -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 14:25:24 2010 Return-Path: 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 234FA106566B for ; Tue, 5 Jan 2010 14:25:24 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id A9CF48FC16 for ; Tue, 5 Jan 2010 14:25:23 +0000 (UTC) Received: by ewy26 with SMTP id 26so14292606ewy.3 for ; Tue, 05 Jan 2010 06:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=FvF+VE8gLOTeIa93lH6Uo2tIrdfdk52PaEM1rN/16A0=; b=et2wRegYOfOuvJmAXw0LhQ7yy+mHbNPKMjSnJC36i9qELmt5OiCnjxeB/H5U9xsdu2 vZuIQ7VOtsRxr/lOZA5SQNUODx8juD0pcT/yHbXOYaDcIxtiw7r1EpExDVbY95g1Vp/V X1Zj8se6NgjNQtwZ0ccVCkK1noFTKtgSkFa/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gjyN6rTdcunlmfMM/gFx1zVhLdNjUEY+KosfGzXPlPjBdjVtnfaIDU05EykA1P/yoH GbMkX4jAZbr9mK9rJqh9OvW5y6CeVD9BOCEjNUUY9iMhb+HJCsYj5i0bhZr6mkugKcmM PUt7VTtmnFSnq8NXLwO5SkLWWJaG3ndGm54ao= MIME-Version: 1.0 Received: by 10.213.23.144 with SMTP id r16mr6683577ebb.41.1262701519099; Tue, 05 Jan 2010 06:25:19 -0800 (PST) In-Reply-To: <20100104190714.GA91546@office.redwerk.com> References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> Date: Tue, 5 Jan 2010 15:25:18 +0100 Message-ID: <3a142e751001050625h5b4d42d4hf07bb424e93b76fa@mail.gmail.com> From: Paul B Mahol To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 14:25:24 -0000 On 1/4/10, Eugene Dzhurinsky wrote: > On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote: >> On 1/3/10, Eugene Dzhurinsky wrote: >> > On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: >> >> On 12/25/09, Eugene Dzhurinsky wrote: >> >> > On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: >> >> >> Have you tried using if_ndis? >> >> > The kernel module I've created just hangs once loaded :( >> >> This is on amd64? >> > >> > No, i386 >> >> Is anything displayed on console? Are you sure you are using >> 5.1 driveres (for XP) and not newer ones? > > I am using xp3264-7.7.0.329-whql.zip file from Atheros. > > When trying to convert the ones athwx.sys and netathwx.inf I am getting the > error: > > ndiscvt: line 5117: : syntax error. > CONVERSION FAILED Inf file appears to not end with EOL, I opened it with vim and just used :wq -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 14:37:58 2010 Return-Path: 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 E540E1065694 for ; Tue, 5 Jan 2010 14:37:58 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mx01.netsrc.de (mx01.netsrc.de [89.107.71.100]) by mx1.freebsd.org (Postfix) with ESMTP id A72AC8FC15 for ; Tue, 5 Jan 2010 14:37:58 +0000 (UTC) Received: from jessie.localnet (unknown [212.185.121.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.netsrc.de (Postfix) with ESMTP id 5C614192FDF; Tue, 5 Jan 2010 15:37:57 +0100 (CET) From: Bernhard Schmidt To: Paul B Mahol Date: Tue, 5 Jan 2010 15:37:55 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-16-generic; KDE/4.3.2; i686; ; ) References: <3a142e751001050232g162110fqdff7f8f1dbf71e57@mail.gmail.com> In-Reply-To: <3a142e751001050232g162110fqdff7f8f1dbf71e57@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001051537.56034.bschmidt@techwires.net> Cc: freebsd-current@freebsd.org Subject: Re: iwn firmware files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 14:37:59 -0000 On Tuesday 05 January 2010 11:32:34 Paul B Mahol wrote: > Hi, > > iwn firmware files should be generated in /usr/obj directory and not > in /usr/src. > > I like to mount src dir ro. Works for me. # touch foo touch: foo: Read-only file system # make buildkernel [...] -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Tue Jan 5 15:33:56 CET 2010 -------------------------------------------------------------- # Did you once run make in sys/modules/iwnfw? A make cleandir might help. -- Bernhard From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 14:51:40 2010 Return-Path: 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 7B0781065698; Tue, 5 Jan 2010 14:51:40 +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 2DB168FC17; Tue, 5 Jan 2010 14:51:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o05EmqW1073989; Tue, 5 Jan 2010 07:48:53 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 05 Jan 2010 07:49:35 -0700 (MST) Message-Id: <20100105.074935.237540042763328076.imp@bsdimp.com> To: Bcc-Receiver:; From: "M. Warner Losh" X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Jan__5_07_49_35_2010_567)--" Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 05 Jan 2010 15:00:18 +0000 Subject: A blind carbon copy X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 14:51:40 -0000 ----Next_Part(Tue_Jan__5_07_49_35_2010_567)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is a blind carbon copy. ----Next_Part(Tue_Jan__5_07_49_35_2010_567)-- Content-Type: Message/Rfc822 Content-Transfer-Encoding: 7bit Date: Tue, 05 Jan 2010 07:49:35 -0700 (MST) Message-Id: <20100105.074935.914206331725098771.imp@bsdimp.com> To: rwatson@FreeBSD.org cc: arch@freebsd.org Subject: Re: May be include in GENERIC option INCLUDE_CONFIG_FILE? From: M. Warner Losh In-Reply-To: References: <20100104.150257.746477001028363176.imp@bsdimp.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit [[ moved to arch@, since the original discussion should have taken place there ]] In message: Robert Watson writes: : On Mon, 4 Jan 2010, M. Warner Losh wrote: : : > I'm planning on including standard files so that we can easily add : > things in one place instead of many that will be better than DEFAULTS : > in the next month or so. I've worked through several prototypes, none : > of which have been suitable to share with the wider world, but each : > one better than the one before... I'll post to arch@ when I have a : > proposal. : : Right, at this point what I'd really like to see is a : sys/conf/GENERIC, GENERIC.std or the like that we can add generic : things to in an MI fashion, which each architecture-specific GENERIC : can explicitly include. Yes. In general, I'm planning on having the following structure: std.board Most specific tweaking std.soc-family If appropriate std.core std.cpu std standard config for everybody Each layer would include the more generic thing and tweak it as necessary. Chances are there'd be multiple layers of "std"-ness, starting along a continum: "minimum" -> "everything-a-module defaults" -> "build-it-all-into-the-kernel defaults" -> "kitchen sink" -> "lint". However, having the ability to have that level of control gets a little trickier... One level of "bloat" is easy, but you start to run into problems if you want "bloat" to be tunable :) That's one axis of the problem. The other axis of the problem is including or excluding whole classes of devices. I don't want usb because my board has no USB at all. I want all of USB. I want all tty devices. I want all devices that are USB AND (wireless OR ethernet OR 3G). I want no SCSI controllers. I want all raid controllers. etc. One can try to attack this problem with include files, but it quickly falls down if you want to anything moderately complex (as in the last USB example above). This is where all my past overly-simplistic prototypes have faltered. It requires changes to config(8) that are fairly extensive because they affect config, as well as all the files* files in the tree, as well as needing some way to get the module dependencies that are enshrined in the .c files today... Warner ----Next_Part(Tue_Jan__5_07_49_35_2010_567)---- From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 17:48:38 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1246210656C4 for ; Tue, 5 Jan 2010 17:48:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id F41B28FC1F for ; Tue, 5 Jan 2010 17:48:36 +0000 (UTC) Received: (qmail 4607 invoked by uid 399); 5 Jan 2010 17:48:36 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Jan 2010 17:48:36 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B437B79.4060200@FreeBSD.org> Date: Tue, 05 Jan 2010 09:48:41 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Paul B Mahol References: <3a142e751001050232g162110fqdff7f8f1dbf71e57@mail.gmail.com> In-Reply-To: <3a142e751001050232g162110fqdff7f8f1dbf71e57@mail.gmail.com> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: iwn firmware files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 17:48:38 -0000 Paul B Mahol wrote: > Hi, > > iwn firmware files should be generated in /usr/obj directory and not > in /usr/src. > > I like to mount src dir ro. What are you doing that's resulting in files being created in /usr/src? If you start with a clean src and clean obj, and you get files created in src, that's definitely an error. OTOH, if you're doing something other than a buildworld the following alias may be of use to you: remake="make cleandir && make obj && make depend && make all" Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 18:46:54 2010 Return-Path: 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 68B421065670; Tue, 5 Jan 2010 18:46:54 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id D15CC8FC24; Tue, 5 Jan 2010 18:46:53 +0000 (UTC) Received: by ewy26 with SMTP id 26so14571771ewy.3 for ; Tue, 05 Jan 2010 10:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:cc:content-type; bh=ZMXb6NYl0zTi56XHHDk42OHLaq4SqtwLqlzK7VNvW4g=; b=ina43vt2ySOZ3aY/p9IjpjeZif8/Iwo1rCgXE2NZwo6nQ4k7c/EYXIBDLzWGjz4Mo0 BoWb+fdDs34uiT1HRYtPHSF/h0jlwlO3egDkOMRf88rG1WBZ6yY+Ca6UOFq3Y/2yWoOf 2ohw11F1xmjqQvuROfQ5M4SOFTn9z2arVmxfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=s4K7TfCPeAec516O8OEq8ZXeCR3uKez310QXjZQoEyE3eel6bMfVXOOJBueMzfxPRA EkZ3orUOeQXXvQmohSRBtEaNRdtKYMwZhiIT8pk3xH948/qVDcDnH0rgFgGHF+qFJVEe NajpLGcpAs7wRhU0VtRVdoazyzyIBRkWCjr3c= MIME-Version: 1.0 Received: by 10.216.88.71 with SMTP id z49mr347990wee.90.1262717207258; Tue, 05 Jan 2010 10:46:47 -0800 (PST) From: Renato Botelho Date: Tue, 5 Jan 2010 16:46:27 -0200 Message-ID: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> To: Andrew Thompson Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current Subject: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 18:46:54 -0000 Hello Andrew, Some months ago I made a patch to usbdevs to identify Sun type 7 keyboards, you approved and i committed it as you can see on rev. 190089. It was working fine that time, but now I noted it stopped working, as you can see here: ugen0.4: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 Any idea what could happen in this meantime? Thank you -- Renato Botelho From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 20:03:46 2010 Return-Path: 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 5BD28106568B; Tue, 5 Jan 2010 20:03:46 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 409FD8FC18; Tue, 5 Jan 2010 20:03:46 +0000 (UTC) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id o05K3jOi008704; Tue, 5 Jan 2010 12:03:45 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 5 Jan 2010 12:03:28 -0800 Message-ID: In-Reply-To: <25ff90d61001041651gf4509ads4d023320471ab74d@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: netinet6/in6.c r201282 Thread-Index: AcqNoUGLEZHeCKeETEeVKkF+XVINdAAoGnkA References: <25ff90d61001022118y3c2a4ddcr30fd5283af065346@mail.gmail.com> <25ff90d61001041651gf4509ads4d023320471ab74d@mail.gmail.com> From: "Li, Qing" To: "David Horn" , Cc: freebsd-net Subject: RE: netinet6/in6.c r201282 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 20:03:46 -0000 Sorry, I didn't even see your original email until today. Please send problem reports directly to qingli@freebsd.org instead of my work email to get faster response. Thanks, -- Qing >=20 > On Sun, Jan 3, 2010 at 12:18 AM, David Horn wrote: > > Qing -- > > > > I have been having some issues with local ipv6 routes to machines > that > > are supposed to be on-link (attached to the same ethernet switch as > my > > test FreeBSD 9.0 box, and in the same /64) not being able to be > > accessed properly after r201282. > > >=20 > Qing -- >=20 > Thanks for the fix. r201543 seems to work well for me so far. >=20 > --Dave Horn From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 20:22:12 2010 Return-Path: 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 7A0E5106566B for ; Tue, 5 Jan 2010 20:22:12 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 393E28FC16 for ; Tue, 5 Jan 2010 20:22:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 285847BAF5; Wed, 6 Jan 2010 09:22:10 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id funHnLESsMUL; Wed, 6 Jan 2010 09:22:05 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 6 Jan 2010 09:22:05 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 3B1E711432; Wed, 6 Jan 2010 09:22:05 +1300 (NZDT) Date: Wed, 6 Jan 2010 09:22:05 +1300 From: Andrew Thompson To: Renato Botelho Message-ID: <20100105202205.GA29437@citylink.fud.org.nz> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Current Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 20:22:12 -0000 On Tue, Jan 05, 2010 at 04:46:27PM -0200, Renato Botelho wrote: > Hello Andrew, > > Some months ago I made a patch to usbdevs to identify > Sun type 7 keyboards, you approved and i committed it > as you can see on rev. 190089. > > It was working fine that time, but now I noted it stopped > working, as you can see here: > > ugen0.4: at usbus0 > ukbd0: 4> on usbus0 > kbd2 at ukbd0 > > Any idea what could happen in this meantime? This relies on the USB_VERBOSE kernel option, have you removed it by chance? Andrew From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 21:26:02 2010 Return-Path: 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 A6D7E106566C for ; Tue, 5 Jan 2010 21:26:02 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 306E38FC08 for ; Tue, 5 Jan 2010 21:26:01 +0000 (UTC) Received: by fxm27 with SMTP id 27so2217115fxm.3 for ; Tue, 05 Jan 2010 13:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=z+ax/x/95PcHFNwvXabyD5D0eq7n4VloYJmSOwLloJE=; b=xODTYnx/Puw0Wt/kW1ILarPxo9dOZO+fFb6nnZlD8SgDx8II9OfGk4hJ2nJ1wAEstm r0AuOPULKQPKrR3BS6RUvBEJYJP+9QAO/K+MIeHpqPKUa1F4uGevhvoqM50qHrAhR222 g8krKerzrsBUDMUHTEFkHzsdcT5EU8h8VIAgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=uRxUo2RtnqAIyaXGk0AMU2UW6XvlgiTa9sGPxr5QZOouERqqHGgilcYFhVdSOMb9Lp 2ad8Su277cRAQNdTUcbC85Lyu4zwgQ+gTKk4wtN+pZYJ37KLYxLxR+V3CoI41VuqB14g WDhLSazl2msN5J1VQ/Z2CYu9yUFrN9EEbKSJc= Received: by 10.223.92.147 with SMTP id r19mr19501716fam.19.1262726756526; Tue, 05 Jan 2010 13:25:56 -0800 (PST) Received: from ?10.0.10.2? (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by mx.google.com with ESMTPS id 13sm6659241fxm.1.2010.01.05.13.25.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 Jan 2010 13:25:55 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <3a142e751001050625h5b4d42d4hf07bb424e93b76fa@mail.gmail.com> Date: Tue, 5 Jan 2010 21:25:53 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001050625h5b4d42d4hf07bb424e93b76fa@mail.gmail.com> To: Paul B Mahol X-Mailer: Apple Mail (2.1077) X-Mailman-Approved-At: Tue, 05 Jan 2010 22:27:33 +0000 Cc: freebsd-current@freebsd.org Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 21:26:02 -0000 On 5 Jan 2010, at 14:25, Paul B Mahol wrote: > On 1/4/10, Eugene Dzhurinsky wrote: >> On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote: >>> On 1/3/10, Eugene Dzhurinsky wrote: >>>> On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: >>>>> On 12/25/09, Eugene Dzhurinsky wrote: >>>>>> On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: >>>>>>> Have you tried using if_ndis? >>>>>> The kernel module I've created just hangs once loaded :( >>>>> This is on amd64? >>>>=20 >>>> No, i386 >>>=20 >>> Is anything displayed on console? Are you sure you are using >>> 5.1 driveres (for XP) and not newer ones? >>=20 >> I am using xp3264-7.7.0.329-whql.zip file from Atheros. >>=20 >> When trying to convert the ones athwx.sys and netathwx.inf I am = getting the >> error: >>=20 >> ndiscvt: line 5117: : syntax error. >> CONVERSION FAILED >=20 > Inf file appears to not end with EOL, I opened it with vim and just = used :wq >=20 Maybe we should change ndiscvt to handle that. -- Rui Paulo From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 22:49:43 2010 Return-Path: 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 2E7091065679 for ; Tue, 5 Jan 2010 22:49:43 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id B35EC8FC17 for ; Tue, 5 Jan 2010 22:49:42 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so671254eye.9 for ; Tue, 05 Jan 2010 14:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=DlbQdXzcnkicAWEfI0thhZRilU4DUnLBy80KGL10a5E=; b=l2x/L1H0GBG405L6ftbI2qKWCTpqBxZEbnzgDoVvU/3s9t01OvIBsKKrGCtQTtC3eo VC/pd/2tKZp2q+ozkKFCtEclb1jUvXv31DdYIaTmMyE7qdV1WOafdoZ/DM7HbPjY0pQB hQsWWduIzhIIIaAgpLwU50pTvD4ywzSjmPMKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g6/YiMOtolIbHn7Ee89ONnfMHlNLSaj1jcovbyHqBRAI7n1M3C5R+ngNYX7OfgyGsB 1vvIwC/0EXYZ+Q1jeogk9XdcPtyFLAafEqgkjliX8Zoej5qJKU3Xrz1BARp+C5/9e113 BXhR/cHw8DkMWHrrV6539/7rkB1vzomFkKmNo= MIME-Version: 1.0 Received: by 10.213.0.151 with SMTP id 23mr11269131ebb.43.1262731779166; Tue, 05 Jan 2010 14:49:39 -0800 (PST) In-Reply-To: References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001050625h5b4d42d4hf07bb424e93b76fa@mail.gmail.com> Date: Tue, 5 Jan 2010 23:49:39 +0100 Message-ID: <3a142e751001051449q2e830fb8h36614ac15a991936@mail.gmail.com> From: Paul B Mahol To: Rui Paulo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 22:49:43 -0000 On 1/5/10, Rui Paulo wrote: > On 5 Jan 2010, at 14:25, Paul B Mahol wrote: > >> On 1/4/10, Eugene Dzhurinsky wrote: >>> On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote: >>>> On 1/3/10, Eugene Dzhurinsky wrote: >>>>> On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: >>>>>> On 12/25/09, Eugene Dzhurinsky wrote: >>>>>>> On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: >>>>>>>> Have you tried using if_ndis? >>>>>>> The kernel module I've created just hangs once loaded :( >>>>>> This is on amd64? >>>>> >>>>> No, i386 >>>> >>>> Is anything displayed on console? Are you sure you are using >>>> 5.1 driveres (for XP) and not newer ones? >>> >>> I am using xp3264-7.7.0.329-whql.zip file from Atheros. >>> >>> When trying to convert the ones athwx.sys and netathwx.inf I am getting >>> the >>> error: >>> >>> ndiscvt: line 5117: : syntax error. >>> CONVERSION FAILED >> >> Inf file appears to not end with EOL, I opened it with vim and just used >> :wq >> > > Maybe we should change ndiscvt to handle that. Or just ndisgen.sh: echo "" >> netathw.inf -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 22:51:11 2010 Return-Path: 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 D046E1065698 for ; Tue, 5 Jan 2010 22:51:11 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5072B8FC15 for ; Tue, 5 Jan 2010 22:51:10 +0000 (UTC) Received: by ewy26 with SMTP id 26so14826543ewy.3 for ; Tue, 05 Jan 2010 14:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=tz5MPofGy5XWg5Pdt+No60+Xd79wQfGyfEtcAeh0qPQ=; b=pP5nSQqmri0RCyKo8ge9fTTbZL7PcDq0nrb4JzkGC/cGJ74+QZAw6net6Ryow32644 CTwm4DsRcnK4f/K0aGz5AW05uzuvXB3f3CU+SzyBxw9k0nWdp3m9jerF9oZO16tR4fW7 yR3NeModBJ0LxvICYX7Ln4Zxn2+wFMic4/fSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=C0yU9Zkh+EHv21nMVNfJAYPqYkb0A79NS02A76AF6yXp4dSrwFoKd5l9UTuyBsEWiH Iq90CM22aDYcZqbfqBed1pFgN/eQW16FTeQA5QIQ05mLhQ1TZ+jmc8mi/oxg/FV/QF91 ut+gFHcbQjBM23AuXHZ/UdAjjuGtAT/lTvByw= MIME-Version: 1.0 Received: by 10.213.106.202 with SMTP id y10mr790869ebo.35.1262731861084; Tue, 05 Jan 2010 14:51:01 -0800 (PST) In-Reply-To: <20100104190714.GA91546@office.redwerk.com> References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> Date: Tue, 5 Jan 2010 23:51:01 +0100 Message-ID: <3a142e751001051451j510d8339o19146703a150ed12@mail.gmail.com> From: Paul B Mahol To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 22:51:11 -0000 On 1/4/10, Eugene Dzhurinsky wrote: > On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote: >> On 1/3/10, Eugene Dzhurinsky wrote: >> > On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: >> >> On 12/25/09, Eugene Dzhurinsky wrote: >> >> > On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: >> >> >> Have you tried using if_ndis? >> >> > The kernel module I've created just hangs once loaded :( >> >> This is on amd64? >> > >> > No, i386 >> >> Is anything displayed on console? Are you sure you are using >> 5.1 driveres (for XP) and not newer ones? > > I am using xp3264-7.7.0.329-whql.zip file from Atheros. > > When trying to convert the ones athwx.sys and netathwx.inf I am getting the > error: That files are for amd64. -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 00:01:33 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C56111065692; Wed, 6 Jan 2010 00:01:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 855908FC0C; Wed, 6 Jan 2010 00:01:33 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o0601WvP069441; Tue, 5 Jan 2010 19:01:32 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o0601WwT069432; Wed, 6 Jan 2010 00:01:32 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 6 Jan 2010 00:01:32 GMT Message-Id: <201001060001.o0601WwT069432@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 00:01:34 -0000 TB --- 2010-01-05 23:30:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-05 23:30:00 - starting HEAD tinderbox run for arm/arm TB --- 2010-01-05 23:30:00 - cleaning the object tree TB --- 2010-01-05 23:30:19 - cvsupping the source tree TB --- 2010-01-05 23:30:19 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2010-01-05 23:31:05 - building world TB --- 2010-01-05 23:31:05 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-05 23:31:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-05 23:31:05 - TARGET=arm TB --- 2010-01-05 23:31:05 - TARGET_ARCH=arm TB --- 2010-01-05 23:31:05 - TZ=UTC TB --- 2010-01-05 23:31:05 - __MAKE_CONF=/dev/null TB --- 2010-01-05 23:31:05 - cd /src TB --- 2010-01-05 23:31:05 - /usr/bin/make -B buildworld >>> World build started on Tue Jan 5 23:31:06 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/games/number/number.c cc -O -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o number number.o gzip -cn /src/games/number/number.6 > number.6.gz ===> games/pom (all) cc -O -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/games/pom/pom.c cc1: warnings being treated as errors /src/games/pom/pom.c: In function 'main': /src/games/pom/pom.c:94: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /src/games/pom. *** Error code 1 Stop in /src/games. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-06 00:01:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-06 00:01:32 - ERROR: failed to build world TB --- 2010-01-06 00:01:32 - 1282.31 user 407.15 system 1892.24 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 01:11:54 2010 Return-Path: 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 368EA106566B for ; Wed, 6 Jan 2010 01:11:54 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0E3ED8FC0C for ; Wed, 6 Jan 2010 01:11:54 +0000 (UTC) Received: from apple.my.domain (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o061Bq43023967 for ; Wed, 6 Jan 2010 01:11:53 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4B43E358.609@freebsd.org> Date: Wed, 06 Jan 2010 09:11:52 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20080612) MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: process-sharable pthread synchronous objects X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 01:11:54 -0000 I want to go further to make some pthread synchronous objects process-sharable, do you guy think it is worthy ? except mutex and condition variable, others like rwlock and spinlock are relative simple. The pthread mutex is complex, especially they introduced robust mutex type in new specification, I don't know if we need change code a lot or a little. The current mutex implementation is not fork-friendly, because we use global thread ID as mutex owner, if a process is forked, the process-local mutex is unusable by thread in child process, current we fixed the mutex ownership for child process in fork() by libthr. The thread ID(global or local) is needed because I want make priority-inherited mutex as fast as normal mutex in non-contention case, only when the thread is blocked it will enter kernel and find the owner of the mutex, and boost the owner's priority. to find the owner, it need to use thread ID. Otherwise, I can not find a way to make priority-mutex as fast as normal mutex. For process-shared mutex we really need to use global thread ID, for process-local mutex, if we have process local thread ID, then we only need to change code slightly. Still don't know how a mutex can be robust in shared-memory model. ;-) Regards, David Xu From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 02:00:06 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B8FC106568B; Wed, 6 Jan 2010 02:00:06 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1968FC1D; Wed, 6 Jan 2010 02:00:06 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o06205UL017501; Tue, 5 Jan 2010 21:00:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o06205IX017497; Wed, 6 Jan 2010 02:00:05 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 6 Jan 2010 02:00:05 GMT Message-Id: <201001060200.o06205IX017497@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 02:00:06 -0000 TB --- 2010-01-06 01:23:01 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-06 01:23:01 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-01-06 01:23:01 - cleaning the object tree TB --- 2010-01-06 01:23:20 - cvsupping the source tree TB --- 2010-01-06 01:23:20 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-01-06 01:23:46 - building world TB --- 2010-01-06 01:23:46 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-06 01:23:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-06 01:23:46 - TARGET=powerpc TB --- 2010-01-06 01:23:46 - TARGET_ARCH=powerpc TB --- 2010-01-06 01:23:46 - TZ=UTC TB --- 2010-01-06 01:23:46 - __MAKE_CONF=/dev/null TB --- 2010-01-06 01:23:46 - cd /src TB --- 2010-01-06 01:23:46 - /usr/bin/make -B buildworld >>> World build started on Wed Jan 6 01:23:46 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/games/number/number.c cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o number number.o gzip -cn /src/games/number/number.6 > number.6.gz ===> games/pom (all) cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/games/pom/pom.c cc1: warnings being treated as errors /src/games/pom/pom.c: In function 'main': /src/games/pom/pom.c:94: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /src/games/pom. *** Error code 1 Stop in /src/games. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-06 02:00:05 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-06 02:00:05 - ERROR: failed to build world TB --- 2010-01-06 02:00:05 - 1566.81 user 383.64 system 2224.42 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 02:38:48 2010 Return-Path: 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 1397910656B3; Wed, 6 Jan 2010 02:38:48 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7667C8FC15; Wed, 6 Jan 2010 02:38:46 +0000 (UTC) Received: by fxm27 with SMTP id 27so2377729fxm.3 for ; Tue, 05 Jan 2010 18:38:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=498EFNd67pVvAaQBT+I6UB1bVcbwj1q/tGnUYNEBxyk=; b=pN7HLa9LDEJUaMMgl7JYDtf8FL24pBdAoSY90LNMGCKIR0CO7t5XoaUXCzmLWs4sRB w0yzhWMqulmdK44PN61lkTH3xiXex15PK/oDrjd+P+msd/LO/EmAPQ/TUWaKiFkJMpMp m5qXygq5cDQ30sJUm8BBdUhT2KDJ9WJBYPuaE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=T98S8NLjs5jQYCQFcGtN7+g5n6XcTscljYOTazWFEh+cD3R0OXrISilzO9S9sGdGtI TLiuetNUm1Yjwdc3i+Bvg9Y3OlpF8Q51avD06/VAcBBO+PAQyMHliFXRxlxq6Au8Yg7J t5DAFln06253QkI9/GKwt2hP+AQgEprTG5oy8= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.143.73 with SMTP id t9mr573441fau.89.1262745515726; Tue, 05 Jan 2010 18:38:35 -0800 (PST) In-Reply-To: <4B43E358.609@freebsd.org> References: <4B43E358.609@freebsd.org> Date: Wed, 6 Jan 2010 03:38:35 +0100 X-Google-Sender-Auth: 54ca9c8ffa4bfa68 Message-ID: <3bbf2fe11001051838t38e872d3jae6c4f8be9e57ebc@mail.gmail.com> From: Attilio Rao To: David Xu Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Current Subject: Re: process-sharable pthread synchronous objects X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 02:38:48 -0000 2010/1/6 David Xu : > I want to go further to make some pthread synchronous objects > process-sharable, do you guy think it is worthy ? > except mutex and condition variable, others like rwlock and spinlock > are relative simple. I'm afraid people is going to produce very messy system resulting in process shared mutexes where IPC or threads may be used and causing more harms than good. Besides that, semaphore can "emulate" a fair amount of locking features in a non-trivial fashion, forcing developers to think a lot about it, thus reducing the risk of error. Said that, I think that introducing shared semaphore has been a good idea, but I would not go further than that. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 02:41:32 2010 Return-Path: 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 7E4C51065670 for ; Wed, 6 Jan 2010 02:41:32 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id D4BFB8FC0A for ; Wed, 6 Jan 2010 02:41:31 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o062d4CM025878 for ; Wed, 6 Jan 2010 13:09:04 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Wed, 6 Jan 2010 13:11:30 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 Jan 2010 13:11:30 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 Jan 2010 10:41:29 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o062iYYY030105 for ; Wed, 6 Jan 2010 10:44:34 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o062iY8n030104 for freebsd-current@freebsd.org; Wed, 6 Jan 2010 10:44:34 +0800 (WST) (envelope-from wilkinsa) Date: Wed, 6 Jan 2010 10:44:34 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100106024434.GA29741@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <201001050828.49809.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <201001050828.49809.jhb@freebsd.org> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 06 Jan 2010 02:41:29.0603 (UTC) FILETIME=[BFF2D530:01CA8E79] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17114.004 X-TM-AS-Result: No--1.659100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 02:41:32 -0000 0n Tue, Jan 05, 2010 at 08:28:49AM -0500, John Baldwin wrote: >Are you able to get a crashdump and examine it with kgdb? rebuilt world+kernel and overwrote kernel.debug :( when it happens again I will get a bt from kgdb(1). -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 02:55:21 2010 Return-Path: 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 14C87106566B; Wed, 6 Jan 2010 02:55:21 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8D5848FC0A; Wed, 6 Jan 2010 02:55:20 +0000 (UTC) Received: by qyk4 with SMTP id 4so7055590qyk.7 for ; Tue, 05 Jan 2010 18:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=MZ5KlF3mzoHdmMJuEGlWUKlM9isJF4EbBGnQsijMFJ0=; b=Y6gRUZJNZvW8YsOHh0zqm7/V4ODB7FsElaogJZFgqtRUfvl4b4XaWmNHEbeeA20mgw 8sLTj2TojatLO2mhLLNV99gQl/72/mrOdyaboks9zeybJKTjHyxwabcxZPPmr6N66wGc 6QAIazI3pN703R0ECEQI01D9vYYZAUV7NMctw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=C9l5VUnwTQw2k7tr0W23Fb6lw6iFJ0PCa5x1+OKNpfJc6VUcTOsQ9RgDTnhLfHNRFO 5gL67u3Fg4NNQXq2mdRzMiBSSXX6RU5RdP6mqs8dojKAvSEe3JnSAUQEqD/RrlrSXx/W 6D2RyUDuRR5VHbOkExf6K06AKxSe0Yy+IDzvE= Received: by 10.224.36.6 with SMTP id r6mr12647499qad.219.1262746512369; Tue, 05 Jan 2010 18:55:12 -0800 (PST) Received: from kan.dnsalias.net (c-24-91-218-112.hsd1.ma.comcast.net [24.91.218.112]) by mx.google.com with ESMTPS id 26sm53613407qwa.40.2010.01.05.18.55.10 (version=SSLv3 cipher=RC4-MD5); Tue, 05 Jan 2010 18:55:10 -0800 (PST) Date: Tue, 5 Jan 2010 21:55:05 -0500 From: Alexander Kabaev To: Attilio Rao Message-ID: <20100105215505.451ff1da@kan.dnsalias.net> In-Reply-To: <3bbf2fe11001051838t38e872d3jae6c4f8be9e57ebc@mail.gmail.com> References: <4B43E358.609@freebsd.org> <3bbf2fe11001051838t38e872d3jae6c4f8be9e57ebc@mail.gmail.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/7K7e8nFJiUYLswev06_pk=H"; protocol="application/pgp-signature" Cc: FreeBSD Current , David Xu Subject: Re: process-sharable pthread synchronous objects X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 02:55:21 -0000 --Sig_/7K7e8nFJiUYLswev06_pk=H Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 6 Jan 2010 03:38:35 +0100 Attilio Rao wrote: > 2010/1/6 David Xu : > > I want to go further to make some pthread synchronous objects > > process-sharable, do you guy think it is worthy ? > > except mutex and condition variable, others like rwlock and spinlock > > are relative simple. >=20 > I'm afraid people is going to produce very messy system resulting in > process shared mutexes where IPC or threads may be used and causing > more harms than good. > Besides that, semaphore can "emulate" a fair amount of locking > features in a non-trivial fashion, forcing developers to think a lot > about it, thus reducing the risk of error. >=20 > Said that, I think that introducing shared semaphore has been a good > idea, but I would not go further than that. >=20 > Thanks, > Attilio >=20 >=20 I respectfully disagree and think having pthread-agnotsic locks processes can use to synchronize access to, say, shared memory segment content is a good think to have. People are perfectly capable of screwing up any powerful tool they are given, but that is not the reason to be held back. Solaris had lwp_{mutex|cond} for ages and lived. --=20 Alexander Kabaev --Sig_/7K7e8nFJiUYLswev06_pk=H Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iD8DBQFLQ/uNQ6z1jMm+XZYRAnUTAJ9r8caQhQisn5ewuye36IyXJ8ZZTQCeNiUb 8V/1daIso4xZGe5FlgTrRO4= =Gj5d -----END PGP SIGNATURE----- --Sig_/7K7e8nFJiUYLswev06_pk=H-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 04:27:23 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E64A0106566C; Wed, 6 Jan 2010 04:27:23 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8DE8FC19; Wed, 6 Jan 2010 04:27:23 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 74F2C12543B; Wed, 6 Jan 2010 13:11:26 +0900 (JST) Message-ID: <4B440D6E.1070809@freebsd.org> Date: Wed, 06 Jan 2010 13:11:26 +0900 From: Daichi GOTO Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091219 Thunderbird/3.0 MIME-Version: 1.0 To: Beat Gaetzi , freebsd-emulation@freebsd.org, current@freebsd.org References: <4B4225D9.9050504@FreeBSD.org> In-Reply-To: <4B4225D9.9050504@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 04:27:24 -0000 Thanks great works! Beat and FreeBSD Vbox Team! I have been trying to test VirtualBox 3.1.2 for FreeBSD (take 2) in these days. This is my test report. Host OS: FreeBSD 9.0-CURRENT amd64 (Tue Jan 5 08:47:45 JST 2010) Gest OS: FreeBSD 8.0-RELEASE-p1 i386 + latest ports (X.org 7.4_2) FreeBSD 8.0-RELEASE-p1 amd64 + latest ports (X.org 7.4_2) FreeBSD 9-CURRENT amd64 + latest ports (X.org 7.4_2) Build result: ------------------------------------------ | Guest OS | result | ------------------------------------------ | FreeBSD 8.0-RELEASE-p1 i386 | success | | FreeBSD 8.0-RELEASE-p1 amd64 | fail(*1)| | FreeBSD 9-CURRENT amd64 | success | ------------------------------------------ vboxvideo_drv.so works: ------------------------------------------ | Guest OS | result | ------------------------------------------ | FreeBSD 8.0-RELEASE-p1 i386 | fine | | FreeBSD 8.0-RELEASE-p1 amd64 | - | | FreeBSD 9-CURRENT amd64 | fine | ------------------------------------------ vboxmouse_drv.so works (8.0-RELEASE-p1 i386 (2*)): Option "AllowInputEmpty" "off": ------------------------------------------------------ | device | sysmouse | psm | sysmouse | psm | ------------------------------------------------------ | ON | fine | not-work | strange | fine | | moused |-------------------------------------------- | OFF | not-work | fine | strange | not-work | ------------------------------------------------------ | driver | mouse | vboxmouse | ------------------------------------------------------ strange: mouse pointer could move but drag works strange. Option "AllowInputEmpty" "on" + hald + dbus: ------------------------------------------------------ | device | sysmouse | psm | sysmouse | psm | ------------------------------------------------------ | ON | not-work | not-work | not-work | not-work | | moused |-------------------------------------------- | OFF | fine | fine | strange | not-work | ------------------------------------------------------ | driver | mouse | vboxmouse | ------------------------------------------------------ host-guest clipboard works: ------------------------------------------ | Guest OS | result | ------------------------------------------ | FreeBSD 8.0-RELEASE-p1 i386 | not-work| | FreeBSD 8.0-RELEASE-p1 amd64 | - | | FreeBSD 9-CURRENT amd64 | not-work| ------------------------------------------ Conclusion: If you want to use X.org and seamless mouse, you should choose one of follow settings: - "AllowInputEmpty" "off", /dev/sysmouse and moused(8) working - "AllowInputEmpty" "on", hald working, dbus working and moused(8) off Discussion and Issues: I cannot get host-guest clipboard share working. Does someone get it? (*1) work log: # uname -a FreeBSD .ongs.co.jp 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0 r200761: Mon Dec 21 12:57:07 UTC 2009 root@parancell-freebsd80-amd64.ongs.co.jp:/usr/obj/usr/src/sys/PARANCELL amd64 # cd /usr/ports/emulators/virtualbox-ose-additions/ # make install clean ===> Vulnerability check disabled, database not found ===> Extracting for virtualbox-ose-additions-3.1.51.r25618 => MD5 Checksum OK for VirtualBox-3.1.51r25618-OSE.tar.bz2. => SHA256 Checksum OK for VirtualBox-3.1.51r25618-OSE.tar.bz2. ===> Patching for virtualbox-ose-additions-3.1.51.r25618 ===> Applying FreeBSD patches for virtualbox-ose-additions-3.1.51.r25618 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to src/VBox/Additions/x11/VBoxClient/Makefile.kmk.rej => Patch patch-src-VBox-Additions-x11-VBoxClient-Makefile.kmk failed to apply cleanly. => Patch(es) patch-src-VBox-Additions-freebsd-Makefile.kmk applied cleanly. *** Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-additions. # (2*) 9-CURRENT amd64 looks like the same as 8.0R-p1 i386 Best regards -- Daichi GOTO 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 06:01:09 2010 Return-Path: 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 99AF8106566B for ; Wed, 6 Jan 2010 06:01:09 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 256FA8FC12 for ; Wed, 6 Jan 2010 06:01:08 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o065wexI026395 for ; Wed, 6 Jan 2010 16:28:40 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Wed, 6 Jan 2010 16:31:07 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 Jan 2010 16:31:06 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 Jan 2010 14:01:03 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o06648Gn030914 for ; Wed, 6 Jan 2010 14:04:08 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o06647xX030913 for freebsd-current@freebsd.org; Wed, 6 Jan 2010 14:04:07 +0800 (WST) (envelope-from wilkinsa) Date: Wed, 6 Jan 2010 14:04:07 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100106060407.GA30135@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 06 Jan 2010 06:01:03.0947 (UTC) FILETIME=[A136B9B0:01CA8E95] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17114.004 X-TM-AS-Result: No--1.311800-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Subject: LOR vfs_mount.c && msdosfs_vfsops.c [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 06:01:09 -0000 Upon exec'ing: '#sudo umount /mnt/' (/mnt is FAT32 USB stick). Cant see anything that looks the same @ http://sources.zabbadoz.net/freebsd/lor.html lock order reversal: 1st 0xc9541af8 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1204 2nd 0xc7d80d18 devfs (devfs) @ /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:944 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,eb3f5a34,c08d26e5,c08c339b,c0c9e192,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08c339b,c0c9e192,c61317d8,c6131708,eb3f5a90,...) at kdb_backtrace+0x29 _witness_debugger(c0c9e192,c7d80d18,c0c8ca59,c6131708,c0c8d23d,...) at _witness_debugger+0x25 witness_checkorder(c7d80d18,9,c0c8d23d,3b0,c7d80d38,...) at witness_checkorder+0x839 __lockmgr_args(c7d80d18,80400,c7d80d38,0,0,...) at __lockmgr_args+0x824 vop_stdlock(eb3f5bac,c0f301a0,c75f10a4,80400,c7d80cc0,...) at vop_stdlock+0x62 VOP_LOCK1_APV(c0d7e580,eb3f5bac,eb3f5bcc,c0dbe5e0,c7d80cc0,...) at VOP_LOCK1_APV+0xb5 _vn_lock(c7d80cc0,80400,c0c8d23d,3b0,c6798798,...) at _vn_lock+0x5e msdosfs_sync(c6798798,1,c0ca4bbf,4f9,80,...) at msdosfs_sync+0x29c dounmount(c6798798,8000000,c75f1000,47e,4,...) at dounmount+0x44e unmount(c75f1000,eb3f5cf8,8,c75f1000,c0d822c8,...) at unmount+0x2ff syscall(eb3f5d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (22, FreeBSD ELF32, unmount), eip = 0x280dafaf, esp = 0xbfbfe49c, ebp = 0xbfbfe568 --- -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 09:05:42 2010 Return-Path: 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 C0A95106566B for ; Wed, 6 Jan 2010 09:05:42 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3F68FC1F for ; Wed, 6 Jan 2010 09:05:41 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o0695b4C045402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jan 2010 10:05:40 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B445257.3080606@omnilan.de> Date: Wed, 06 Jan 2010 10:05:27 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: Doug Barton References: <4B12CCA8.7050808@omnilan.de> <4B1341E7.1050805@FreeBSD.org> In-Reply-To: <4B1341E7.1050805@FreeBSD.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig278288ABDE7626162557FE28" Cc: freebsd-current@freebsd.org Subject: Re: named, VARMFS=yes and FILESDIR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 09:05:42 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig278288ABDE7626162557FE28 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Doug Barton schrieb am 30.11.2009 04:54 (localtime): > Harald Schmalzbauer wrote: =2E.. >> while building an embedded slave DNS I recognized that running named o= ut >> of the box with VARMFS enabled would fail. >> Now I could easily fix it for my device only, but I think it's better = to >> solve it upstream. >> VARMFS=3DYes is a standard option, likewise named_enable. >=20 > There are lots of standard options that are not compatible with each > other. Sorry for this long silence. Unfortunately I have only some hours/month=20 spare time to work on this. There are kind of "to be expected" incompatible options, of course, but=20 this one hit me some years before. Especcially for newbies, it's not=20 clear why these options shouldn't work together. >> My idea is to create a namedb directory in /usr/share (like there's on= e >> for sendmail) with duplicate entries of src/etc/namedb >=20 > Why not just set named_chrootdir to /usr/share/namedb ? It's not 100% > clear to me what you're trying to accomplish. Can you please go into a > little more detail about your goals, rather than potential solutions? I think rc.d/var should be able to populate a named compliant /var.=20 Therefore it needs at least named.conf and named.root. My idea was to save them in /usr/share, where many other (sendmail e.g.) = template duplicates also reside. When chrooting to /usr/share/namedb, it = also fails if I don't have the original installed /var, like if /var is=20 a freshly populated memory file system. >> P.S.: named_conf definitions in rc.conf get lost.=20 >=20 > Yes, that's something that needs improvement. I have it on the list > but since it's not common for people to alter the path to the conf > file, and since in the past in order to do so you've had to add -c to > named_flags anyway, I don't regard it as urgent. Is there anything wrong with my patch? Thanks, -Harry --------------enig278288ABDE7626162557FE28 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.13 (FreeBSD) iEYEARECAAYFAktEUmEACgkQLDqVQ9VXb8ixpACghh7eaB7FSY8UiejZu7j/LLHQ /2AAn1w3rA3xpfLhEEvGH7q7Ew4cBmLN =4Y3u -----END PGP SIGNATURE----- --------------enig278288ABDE7626162557FE28-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 09:11:59 2010 Return-Path: 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 963CB106566C for ; Wed, 6 Jan 2010 09:11:59 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 155108FC1B for ; Wed, 6 Jan 2010 09:11:58 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o069Bv57045502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jan 2010 10:11:58 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B4453DC.7080405@omnilan.de> Date: Wed, 06 Jan 2010 10:11:56 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: Michael Proto References: <4B12CCA8.7050808@omnilan.de> <1de79840912070951p1abf7dbfxdf7d5ea5ab5903cd@mail.gmail.com> In-Reply-To: <1de79840912070951p1abf7dbfxdf7d5ea5ab5903cd@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig81060E156A7DAEE181872C1D" Cc: freebsd-current@freebsd.org Subject: Re: named, VARMFS=yes and FILESDIR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 09:11:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig81060E156A7DAEE181872C1D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Michael Proto schrieb am 07.12.2009 18:51 (localtime): > On Sun, Nov 29, 2009 at 2:34 PM, Harald Schmalzbauer > wrote: >> Hello, >> >> while building an embedded slave DNS I recognized that running named o= ut of >> the box with VARMFS enabled would fail. >> Now I could easily fix it for my device only, but I think it's better = to >> solve it upstream. >> VARMFS=3DYes is a standard option, likewise named_enable. >> >> Short description of the problem: >> When rc detects non-writabel /var or VARMFS is set to yes, a new /var = tree >> gets populated. This comes without config, hint file and likewise for >> /var/named/namedb, but /etc/namedb is a symlink to /var/named/namedb. >> >> rc.d/named could easily be supplemented with the neccessary checks, bu= t we >> don't have the needed files outside of /var. >> >> My idea is to create a namedb directory in /usr/share (like there's on= e for >> sendmail) with duplicate entries of src/etc/namedb >> >> Unfortunately I couldn't find out where FILESDIR is processed in the b= sd >> build stages. >> If the idea is plausable, how do I best install /usr/share/namedb? >> src/etc/namedb is entered at DISTRIBUTION target, right? >> >> Id highly appreciate if somebody who's familar with the build stages c= ould >> give me some hints. >> >> Thanks, >> >> -Harry >> >> P.S.: named_conf definitions in rc.conf get lost. Here's the patch: >> --- etc/rc.d/named.orig 2009-09-13 20:11:34.000000000 +0200 >> +++ etc/rc.d/named 2009-09-13 21:38:29.000000000 +0200 >> @@ -264,6 +284,6 @@ >> # >> required_dirs=3D"$named_chrootdir" # if it is set, it must exis= t >> pidfile=3D"${named_pidfile:-/var/run/named/pid}" >> -command_args=3D"-u ${named_uid:=3Droot}" >> +command_args=3D"-c $named_conf -u ${named_uid:=3Droot}" >> >> >=20 >=20 > I think this is likely an ordering issue, as I use a MFS-based /var on > my home router and named works with the default /var/named chroot just > fine. My main difference being I define the MFS /var in fstab as > opposed to the varmfs=3D"YES" rc.conf tunable. >=20 > /etc/fstab: > md /var mfs rw,async,-s12m 2 0 >=20 > /etc/rc.conf: > populate_var=3D"YES" >=20 > With these settings a chrooted named into /var/named works just as expe= cted. If you have a valid /var from the base install that's true. But I'm=20 unhappy that the design is to have essential files outside in the /var=20 filesystem without duplicates to automatically restore a working state=20 if something goes wrong. I think these files should not rely on a link=20 from /etc and duplicating 15kByte is cheap these days. I'm unsure how to best solve the "config files outside /etc" problem... Thanks, -Harry --------------enig81060E156A7DAEE181872C1D 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.13 (FreeBSD) iEYEARECAAYFAktEU90ACgkQLDqVQ9VXb8jX5wCeOD+YuYv9ucaHVGPEM1C5PSZH VUgAn1TpO1ZUNbeic8p6+BPgkl7VbM+1 =hKYo -----END PGP SIGNATURE----- --------------enig81060E156A7DAEE181872C1D-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 09:18:25 2010 Return-Path: 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 8A35A106566B for ; Wed, 6 Jan 2010 09:18:25 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5F68FC12 for ; Wed, 6 Jan 2010 09:18:25 +0000 (UTC) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.3/8.14.3) with ESMTP id o0690WGv062253; Wed, 6 Jan 2010 01:00:32 -0800 (PST) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.3/8.14.3/Submit) id o0690Uuj062250; Wed, 6 Jan 2010 01:00:30 -0800 (PST) (envelope-from obrien) Date: Wed, 6 Jan 2010 01:00:30 -0800 From: "David O'Brien" To: "Wilkinson, Alex" Message-ID: <20100106090030.GA61088@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, "Wilkinson, Alex" , freebsd-current@freebsd.org References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <201001050828.49809.jhb@freebsd.org> <20100106024434.GA29741@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100106024434.GA29741@stlux503.dsto.defence.gov.au> X-Operating-System: FreeBSD 9.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@FreeBSD.org Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 09:18:25 -0000 On Wed, Jan 06, 2010 at 10:44:34AM +0800, Wilkinson, Alex wrote: > 0n Tue, Jan 05, 2010 at 08:28:49AM -0500, John Baldwin wrote: > >Are you able to get a crashdump and examine it with kgdb? > > rebuilt world+kernel and overwrote kernel.debug :( > when it happens again I will get a bt from kgdb(1). Alex, This seems weird - you should have kernel.symbols that gives you what you need from from kernel.debug for kgdb. -- -- David (obrien@FreeBSD.org) From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 10:19:25 2010 Return-Path: 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 85F0C1065676; Wed, 6 Jan 2010 10:19:25 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id E95F88FC1A; Wed, 6 Jan 2010 10:19:24 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so765276eye.9 for ; Wed, 06 Jan 2010 02:19:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=xAlHJtq2hR2kvUg29LovW+8ZjC3v8one8AG/uRzH/p4=; b=AxFhwWHFbOQYiRTnxEcsGEK+gFCOphYu5RUAosSPbJRzuCorgSEvGgZ0GkeriwwCDV VmPPhnTUrVuNyrfNxAsDjyoBb7bEngzzQz+EEY+t/75zLBmOrDEBDWaqX9Pkol8QKzUw 0hoWoFgR2RwlVLtPXapt3kkR+90Yv8c9KSNRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=EWopNBPKE+skKTmTvKgC5j523M5sdDYzoyFNlK/cvi92z5SPUTd8Uwex6OmvPSBaNU /8NObs2d0OXX2tBSudiRzUXgDv+kKEq0fpCvQEzMOBFMgN6B5Wk2q47WWz1h851fP0Yq pMFxDU7ESEJaiou6Hi9sc+/C3g6a7b4ayEYso= MIME-Version: 1.0 Received: by 10.216.89.70 with SMTP id b48mr825554wef.160.1262773156238; Wed, 06 Jan 2010 02:19:16 -0800 (PST) In-Reply-To: <20100105202205.GA29437@citylink.fud.org.nz> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <20100105202205.GA29437@citylink.fud.org.nz> From: Renato Botelho Date: Wed, 6 Jan 2010 08:17:33 -0200 Message-ID: <747dc8f31001060217j4cf3156ehcc481c49194bdc9b@mail.gmail.com> To: Andrew Thompson Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 10:19:25 -0000 On Tue, Jan 5, 2010 at 6:22 PM, Andrew Thompson wrote: > On Tue, Jan 05, 2010 at 04:46:27PM -0200, Renato Botelho wrote: >> Hello Andrew, >> >> Some months ago I made a patch to usbdevs to identify >> Sun type 7 keyboards, you approved and i committed it >> as you can see on rev. 190089. >> >> It was working fine that time, but now I noted it stopped >> working, as you can see here: >> >> ugen0.4: at usbus0 >> ukbd0: > 4> on usbus0 >> kbd2 at ukbd0 >> >> Any idea what could happen in this meantime? > > This relies on the USB_VERBOSE kernel option, have you removed it by > chance? No, and other USB devices are identified ok, like this one: ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen0.3: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON The both unidentified are the same ones added on rev. 190089, the keyboard and the USB Hub -- Renato Botelho From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 10:48:42 2010 Return-Path: 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 EE75D106566C; Wed, 6 Jan 2010 10:48:42 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 79FEA8FC0C; Wed, 6 Jan 2010 10:48:42 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 34A8F1FFC22; Wed, 6 Jan 2010 10:48:41 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 00644844C2; Wed, 6 Jan 2010 11:48:40 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Pieter de Goeje References: <65036.1262386032@critter.freebsd.dk> <201001020101.16450.pieter@degoeje.nl> Date: Wed, 06 Jan 2010 11:48:40 +0100 In-Reply-To: <201001020101.16450.pieter@degoeje.nl> (Pieter de Goeje's message of "Sat, 2 Jan 2010 01:01:16 +0100") Message-ID: <86637fjypj.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Alexander Motin , Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , Poul-Henning Kamp , freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 10:48:43 -0000 Pieter de Goeje writes: > Poul-Henning Kamp writes: > > Ideally, newfs/UFS should do a quick test to look for any obvious > > boundaries, and DTRT, a nice little task for somebody :-) > A search for the offset for which newfs (or a simpler test) runs > fastest? Interesting idea :-) Or just default to 4 kB or even 8 kB, which has zero performance impact (either way) for disks with 512 B sectors. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:04:52 2010 Return-Path: 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 9B6D91065676; Wed, 6 Jan 2010 11:04:52 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (unknown [IPv6:2002:51af:3dc3:0:20c:29ff:fece:79f3]) by mx1.freebsd.org (Postfix) with ESMTP id 25DD18FC13; Wed, 6 Jan 2010 11:04:52 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:7980:926d:3f39:5ae2] (unknown [IPv6:2002:51af:3dc3:0:7980:926d:3f39:5ae2]) (Authenticated sender: svein) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id EB4FE22; Wed, 6 Jan 2010 12:04:50 +0100 (CET) Message-ID: <4B446E52.4030508@stillbilde.net> Date: Wed, 06 Jan 2010 12:04:50 +0100 From: "Svein Skogen (Listmail Account)" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <65036.1262386032@critter.freebsd.dk> <201001020101.16450.pieter@degoeje.nl> <86637fjypj.fsf@ds4.des.no> In-Reply-To: <86637fjypj.fsf@ds4.des.no> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Alexander Motin , Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , Poul-Henning Kamp , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Pieter de Goeje Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:04:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dag-Erling Smørgrav wrote: > Pieter de Goeje writes: >> Poul-Henning Kamp writes: >>> Ideally, newfs/UFS should do a quick test to look for any obvious >>> boundaries, and DTRT, a nice little task for somebody :-) >> A search for the offset for which newfs (or a simpler test) runs >> fastest? Interesting idea :-) > > Or just default to 4 kB or even 8 kB, which has zero performance impact > (either way) for disks with 512 B sectors. I'd like it to be tunable. Makes life so much easier for those of us who run raid controllers with adjustable stripe sizes. ;) //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg Østli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktEblIACgkQODUnwSLUlKQBtwCfQPeRckCkZhwmP2BhFVFhLCWC CdsAn23NL0D9qln18sT7RzGSRrworw7w =Sm5t -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:12:51 2010 Return-Path: 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 0B87C1065694; Wed, 6 Jan 2010 11:12:51 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 656F48FC18; Wed, 6 Jan 2010 11:12:50 +0000 (UTC) Received: by ewy26 with SMTP id 26so15289457ewy.3 for ; Wed, 06 Jan 2010 03:12:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=XzhHi7FS7TpYLV2ytum6yNcoYx7NCFKfaa+VoCpDqeU=; b=fKnqb5AxiWzgInFcOEP9vFCPeNNtBp3cvvbxoFONRsS63s85QRQqnrFcAcgUahm0Ps A6CZe5CmxY4qRU++x6P+hnggDD0yfKxa02hDM+ZcXsbI5j4SU/AerBE59H2m6kUgJ6mf JQyvBRoyzpvxQ/5MZ8l7+0AAB1fLekeW2nHqg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=pNd7NsOzauOtgrNu3eVT1111xXfbhJtnZkfnnyPI87kSv2/Zv8ZWlToirEo3hzevlN AJ/YTKYluwAjvCQHq2KK/NxbliUns5lrZu91CbEJCtQAk9CqrhzwXOT5yb1nt0iyEUaS lILKn3J51vL2Nj1c/mHdWo/D4I+wHTAZ5UgP0= Received: by 10.213.45.147 with SMTP id e19mr17541249ebf.17.1262776364839; Wed, 06 Jan 2010 03:12:44 -0800 (PST) Received: from mavbook.mavhome.dp.ua ([72.14.240.162]) by mx.google.com with ESMTPS id 10sm33944970eyd.37.2010.01.06.03.12.43 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 03:12:44 -0800 (PST) Sender: Alexander Motin Message-ID: <4B44702B.9090503@FreeBSD.org> Date: Wed, 06 Jan 2010 13:12:43 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <65036.1262386032@critter.freebsd.dk> <201001020101.16450.pieter@degoeje.nl> <86637fjypj.fsf@ds4.des.no> In-Reply-To: <86637fjypj.fsf@ds4.des.no> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , Poul-Henning Kamp , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Pieter de Goeje Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:12:51 -0000 Dag-Erling Smørgrav wrote: > Pieter de Goeje writes: >> Poul-Henning Kamp writes: >>> Ideally, newfs/UFS should do a quick test to look for any obvious >>> boundaries, and DTRT, a nice little task for somebody :-) >> A search for the offset for which newfs (or a simpler test) runs >> fastest? Interesting idea :-) > > Or just default to 4 kB or even 8 kB, which has zero performance impact > (either way) for disks with 512 B sectors. AFAIK it is what latest Windows'es do, just with bigger value. While it is usually good, I am not sure it is a perfect solution. These WDC HDDs with installed "XP compatibility" jumper artificially shift addresses, adding some offset between logical and physical sectors to fit legacy 63 sectors partition offset. Such case should be detected and handled. The only problem is that these drives doesn't report this info now. :( -- Alexander Motin From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:17:36 2010 Return-Path: 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 438231065679; Wed, 6 Jan 2010 11:17:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 964718FC12; Wed, 6 Jan 2010 11:17:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=i-7CiHfb4hIxcDu47ZkA:9 a=zrNykdIQX4xtkSbci758WtkDl2oA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1262903536; Wed, 06 Jan 2010 12:17:33 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 6 Jan 2010 12:16:12 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <20100105202205.GA29437@citylink.fud.org.nz> <747dc8f31001060217j4cf3156ehcc481c49194bdc9b@mail.gmail.com> In-Reply-To: <747dc8f31001060217j4cf3156ehcc481c49194bdc9b@mail.gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001061216.12121.hselasky@c2i.net> Cc: Renato Botelho , Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:17:36 -0000 On Wednesday 06 January 2010 11:17:33 Renato Botelho wrote: > > ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 > md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: at usbus4, > cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: 0x0430> at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=SAVE > ugen0.3: at usbus0, cfg=0 md=HOST spd=LOW > (1.5Mbps) pwr=ON > ugen0.4: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > > The both unidentified are the same ones added on rev. 190089, > the keyboard and the USB Hub > That is because these devices provide a device string, while your SUN keyboard does not. See: usbconfig -u X -a Y dump_device_desc dump_curr_config_desc Look for fields starting with iXXXX . --HPS From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:27:44 2010 Return-Path: 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 18DD4106568B; Wed, 6 Jan 2010 11:27:44 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id CDA0C8FC3D; Wed, 6 Jan 2010 11:27:43 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:f057:b5cb:d8a2:a766] (unknown [IPv6:2001:7b8:3a7:0:f057:b5cb:d8a2:a766]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4199C5C43; Wed, 6 Jan 2010 12:27:42 +0100 (CET) Message-ID: <4B4473B6.7030902@andric.com> Date: Wed, 06 Jan 2010 12:27:50 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2b6pre) Gecko/20100103 Lanikai/3.1a1pre MIME-Version: 1.0 To: Alexander Motin References: <65036.1262386032@critter.freebsd.dk> <201001020101.16450.pieter@degoeje.nl> <86637fjypj.fsf@ds4.des.no> <4B44702B.9090503@FreeBSD.org> In-Reply-To: <4B44702B.9090503@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , Poul-Henning Kamp , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , Pieter de Goeje Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:27:44 -0000 On 2010-01-06 12:12, Alexander Motin wrote: > AFAIK it is what latest Windows'es do, just with bigger value. Yep, Windows 7 seems to align its partitions on 1 MiB by default... They were always proponents of wasting your disk space for you. :) From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:36:34 2010 Return-Path: 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 829301065679; Wed, 6 Jan 2010 11:36:34 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 40AB68FC1B; Wed, 6 Jan 2010 11:36:34 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 5E11F1FFC22; Wed, 6 Jan 2010 11:36:33 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id C331E844C2; Wed, 6 Jan 2010 12:36:32 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Svein Skogen \(Listmail Account\)" References: <65036.1262386032@critter.freebsd.dk> <201001020101.16450.pieter@degoeje.nl> <86637fjypj.fsf@ds4.des.no> <4B446E52.4030508@stillbilde.net> Date: Wed, 06 Jan 2010 12:36:32 +0100 In-Reply-To: <4B446E52.4030508@stillbilde.net> (Svein Skogen's message of "Wed, 06 Jan 2010 12:04:50 +0100") Message-ID: <86wrzvihxb.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Alexander Motin , Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , Poul-Henning Kamp , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Pieter de Goeje Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:36:34 -0000 "Svein Skogen" writes: > Dag-Erling Sm=C3=B8rgrav writes: > > Or just default to 4 kB or even 8 kB, which has zero performance impact > > (either way) for disks with 512 B sectors. > I'd like it to be tunable. It already *is* tunable, and always has been - it's just a matter of selecting the correct offsets and sizes when you partition the disk / array, and using the correct newfs parameters. The problem is the default alignment used by fdisk, gpart etc. Fdisk aligns slices on cylinder boundaries, even though cylinders are just a figment of the drive firmware's imagination. Sysinstall is even worse, since (IIRC) it *forces* cylinder alignment unless you select expert mode and type in the correct numbers. Marcel described the situation for gpart somewhere else in this thread. As for newfs, the defaults are fine as long as the filesystem doesn't fill up to the point where UFS starts using fragments - but when it does, you're in trouble anyway, so there's no point in overriding the defaults unless it makes sense for your data: a filesystem used mostly to store large files may benefit from increased block / fragment sizes, but remember to keep the 8:1 ratio. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:37:25 2010 Return-Path: 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 79AB51065693; Wed, 6 Jan 2010 11:37:25 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id DAD1F8FC18; Wed, 6 Jan 2010 11:37:24 +0000 (UTC) Received: by ewy26 with SMTP id 26so15311239ewy.3 for ; Wed, 06 Jan 2010 03:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=O3GND7INsTm3p8x87fSinTH4z4rPi2L0ASCjxw5+KEE=; b=ZmvXOOcJ/NsTAcx+lwTjMtrCbVooZWRSCTKbwen7skNiCqJHk/3pehAqvQRGpnOt3S x1PS4stD7ytW9f91RgyCWFwYr0lMz6+37mHvSo+9RbYYxyqMu39Ff0kY/BzsprIXjDA7 PPReqD0UJxsFPWJcS6DepTASojhQ7kneOAskU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=vCPlRRTFY/q4j3cuP6w/2iGh19RdUrqi755Kx8LFAVHCTPOYHjlxGm3PBJWPRPbuL7 bMzuaO+aVXN7ajgc0NlOrFriKaza3WXEab2Rhd+7OCXVQKmQU4ZVYRtbftp/RMXfshAx AU5X6cpu59ThPuCYGRv2zMGb4TFJ2EOEtCoO4= MIME-Version: 1.0 Received: by 10.216.88.144 with SMTP id a16mr5966988wef.208.1262777838172; Wed, 06 Jan 2010 03:37:18 -0800 (PST) In-Reply-To: <201001061216.12121.hselasky@c2i.net> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <20100105202205.GA29437@citylink.fud.org.nz> <747dc8f31001060217j4cf3156ehcc481c49194bdc9b@mail.gmail.com> <201001061216.12121.hselasky@c2i.net> From: Renato Botelho Date: Wed, 6 Jan 2010 09:36:58 -0200 Message-ID: <747dc8f31001060336j51d6c350x4abda99d18ec3423@mail.gmail.com> To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:37:25 -0000 On Wed, Jan 6, 2010 at 9:16 AM, Hans Petter Selasky wrote: > That is because these devices provide a device string, while your SUN keyboard > does not. See: > > usbconfig -u X -a Y dump_device_desc dump_curr_config_desc > > Look for fields starting with iXXXX . There is an iProduct string there: ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0430 idProduct = 0x00a2 bcdDevice = 0x0104 iManufacturer = 0x0000 iProduct = 0x0001 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0022 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0001 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x21, 0x01, 0x22, 0x40, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x000a bRefresh = 0x0000 bSynchAddress = 0x0000 -- Renato Botelho From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:38:30 2010 Return-Path: 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 104CA1065692; Wed, 6 Jan 2010 11:38:30 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id C29CE8FC13; Wed, 6 Jan 2010 11:38:29 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id E52C31FFC27; Wed, 6 Jan 2010 11:38:28 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id BE34E844C2; Wed, 6 Jan 2010 12:38:28 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Dimitry Andric References: <65036.1262386032@critter.freebsd.dk> <201001020101.16450.pieter@degoeje.nl> <86637fjypj.fsf@ds4.des.no> <4B44702B.9090503@FreeBSD.org> <4B4473B6.7030902@andric.com> Date: Wed, 06 Jan 2010 12:38:28 +0100 In-Reply-To: <4B4473B6.7030902@andric.com> (Dimitry Andric's message of "Wed, 06 Jan 2010 12:27:50 +0100") Message-ID: <86skajihu3.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Alexander Motin , Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , Poul-Henning Kamp , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Pieter de Goeje Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:38:30 -0000 Dimitry Andric writes: > Yep, Windows 7 seems to align its partitions on 1 MiB by default... They > were always proponents of wasting your disk space for you. :) There are many reasons to criticize Microsoft and their products, but this is not one of them. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 11:45:21 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D459A1065694; Wed, 6 Jan 2010 11:45:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id AB1408FC12; Wed, 6 Jan 2010 11:45:21 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o06BjKvr090910; Wed, 6 Jan 2010 06:45:20 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o06BjKeW090909; Wed, 6 Jan 2010 11:45:20 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 6 Jan 2010 11:45:20 GMT Message-Id: <201001061145.o06BjKeW090909@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 11:45:21 -0000 TB --- 2010-01-06 10:05:01 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-06 10:05:01 - starting HEAD tinderbox run for amd64/amd64 TB --- 2010-01-06 10:05:01 - cleaning the object tree TB --- 2010-01-06 10:05:26 - cvsupping the source tree TB --- 2010-01-06 10:05:26 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile TB --- 2010-01-06 10:06:04 - building world TB --- 2010-01-06 10:06:04 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-06 10:06:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-06 10:06:04 - TARGET=amd64 TB --- 2010-01-06 10:06:04 - TARGET_ARCH=amd64 TB --- 2010-01-06 10:06:04 - TZ=UTC TB --- 2010-01-06 10:06:04 - __MAKE_CONF=/dev/null TB --- 2010-01-06 10:06:04 - cd /src TB --- 2010-01-06 10:06:04 - /usr/bin/make -B buildworld >>> World build started on Wed Jan 6 10:06:04 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Wed Jan 6 11:32:07 UTC 2010 TB --- 2010-01-06 11:32:07 - generating LINT kernel config TB --- 2010-01-06 11:32:07 - cd /src/sys/amd64/conf TB --- 2010-01-06 11:32:07 - /usr/bin/make -B LINT TB --- 2010-01-06 11:32:07 - building LINT kernel TB --- 2010-01-06 11:32:07 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-06 11:32:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-06 11:32:07 - TARGET=amd64 TB --- 2010-01-06 11:32:07 - TARGET_ARCH=amd64 TB --- 2010-01-06 11:32:07 - TZ=UTC TB --- 2010-01-06 11:32:07 - __MAKE_CONF=/dev/null TB --- 2010-01-06 11:32:07 - cd /src TB --- 2010-01-06 11:32:07 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jan 6 11:32:07 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -frename-registers -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 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/fb/s3_pci.c cc -c -O2 -frename-registers -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 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/fb/vesa.c cc -c -O2 -frename-registers -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 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/fb/vga.c cc -c -O2 -frename-registers -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 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ichwd/ichwd.c cc -c -O2 -frename-registers -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 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/if_ndis/if_ndis.c cc1: warnings being treated as errors /src/sys/dev/if_ndis/if_ndis.c: In function 'ndis_media_status': /src/sys/dev/if_ndis/if_ndis.c:2252: warning: passing argument 4 of 'ndis_get_info' from incompatible pointer type *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-06 11:45:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-06 11:45:20 - ERROR: failed to build lint kernel TB --- 2010-01-06 11:45:20 - 4463.29 user 971.79 system 6019.86 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 12:13:25 2010 Return-Path: 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 01CF0106566B; Wed, 6 Jan 2010 12:13:25 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 741C28FC15; Wed, 6 Jan 2010 12:13:24 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:f057:b5cb:d8a2:a766] (unknown [IPv6:2001:7b8:3a7:0:f057:b5cb:d8a2:a766]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 389BC5C43; Wed, 6 Jan 2010 13:13:23 +0100 (CET) Message-ID: <4B447E67.3090307@andric.com> Date: Wed, 06 Jan 2010 13:13:27 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2b6pre) Gecko/20100103 Lanikai/3.1a1pre MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <65036.1262386032@critter.freebsd.dk> <201001020101.16450.pieter@degoeje.nl> <86637fjypj.fsf@ds4.des.no> <4B44702B.9090503@FreeBSD.org> <4B4473B6.7030902@andric.com> <86skajihu3.fsf@ds4.des.no> In-Reply-To: <86skajihu3.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Alexander Motin , Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , Poul-Henning Kamp , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Pieter de Goeje Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 12:13:25 -0000 On 2010-01-06 12:38, Dag-Erling Sm=C3=B8rgrav wrote: >> Yep, Windows 7 seems to align its partitions on 1 MiB by default... Th= ey >> were always proponents of wasting your disk space for you. :) > There are many reasons to criticize Microsoft and their products, but > this is not one of them. I was just kidding, of course. This alignment been chosen deliberately, since it should nicely encompass all stripe sizes supported by RAID controllers. And no need to ask the underlying device for its stripe or chunk size... From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 12:59:40 2010 Return-Path: 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 9D0471065692; Wed, 6 Jan 2010 12:59:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 00E6A8FC16; Wed, 6 Jan 2010 12:59:39 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=M5B3-7fv2xlLI0eoX2AA:9 a=gJTcu_WSKd5CsiIAHHtxA8VGq8AA:4 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 974417198; Wed, 06 Jan 2010 13:59:37 +0100 From: Hans Petter Selasky To: Renato Botelho Date: Wed, 6 Jan 2010 13:58:16 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061216.12121.hselasky@c2i.net> <747dc8f31001060336j51d6c350x4abda99d18ec3423@mail.gmail.com> In-Reply-To: <747dc8f31001060336j51d6c350x4abda99d18ec3423@mail.gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001061358.16919.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 12:59:40 -0000 On Wednesday 06 January 2010 12:36:58 Renato Botelho wrote: > On Wed, Jan 6, 2010 at 9:16 AM, Hans Petter Selasky wrote: > > That is because these devices provide a device string, while your SUN > > keyboard does not. See: > > > > usbconfig -u X -a Y dump_device_desc dump_curr_config_desc > > > > Look for fields starting with iXXXX . > > There is an iProduct string there: Yes. Could you dump the language table aswell: usbconfig -u X -a Y do_request 0x80 0x06 0x0300 0 0x100 --HPS From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 14:50:04 2010 Return-Path: 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 D118C1065672; Wed, 6 Jan 2010 14:50:04 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 4030B8FC14; Wed, 6 Jan 2010 14:50:03 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so623230fgg.13 for ; Wed, 06 Jan 2010 06:50:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=HxRALdneuQkVeTeMXnTe3C5qZhxzhBd5fEoR+KvArYY=; b=N/XuYqtQ8ewoxLmefp3HZ6pliPyVJ2hmY7IskTkC6Iymt5XfnduxLLZO2KrJXuvEgX r17g16MXx6L/KkLt+xC9mqeRWltsJT+WxwDMHi6nUX88t3Lea54w0b2R9GOIFTqUqF09 PiAhbOQlVtPVjoWmlE4MTcq62OFGADTs7sF8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=uogdT3MivCkwjhSEZ1buC8oBzU9PdKpgertnUUdzYVkwjJd7D/P7xcKNfuxkCw4q6m e8zCCflE3Q0Kdd+4MTOBSGMY+b/zOoUvBYz4EUWNPK1kidr5cUxsLUPTLWo4mLUPtYuz Jrs0s6v9d6SImgXqkniCc7p2WWXIiEWSZvUYo= MIME-Version: 1.0 Received: by 10.216.88.140 with SMTP id a12mr1618466wef.157.1262789400145; Wed, 06 Jan 2010 06:50:00 -0800 (PST) In-Reply-To: <201001061358.16919.hselasky@c2i.net> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061216.12121.hselasky@c2i.net> <747dc8f31001060336j51d6c350x4abda99d18ec3423@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> From: Renato Botelho Date: Wed, 6 Jan 2010 12:49:40 -0200 Message-ID: <747dc8f31001060649k30b5382bn9e3d2654b0e20321@mail.gmail.com> To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 14:50:04 -0000 On Wed, Jan 6, 2010 at 10:58 AM, Hans Petter Selasky wrote: > On Wednesday 06 January 2010 12:36:58 Renato Botelho wrote: >> On Wed, Jan 6, 2010 at 9:16 AM, Hans Petter Selasky > wrote: >> > That is because these devices provide a device string, while your SUN >> > keyboard does not. See: >> > >> > usbconfig -u X -a Y dump_device_desc dump_curr_config_desc >> > >> > Look for fields starting with iXXXX . >> >> There is an iProduct string there: > > Yes. Could you dump the language table aswell: > > usbconfig -u X -a Y do_request 0x80 0x06 0x0300 0 0x100 Sure, here it is: REQUEST = <0x04 0x03 0x09 0x04><> -- Renato Botelho From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 14:56:21 2010 Return-Path: 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 CC92C106566B; Wed, 6 Jan 2010 14:56:21 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 3BDEF8FC17; Wed, 6 Jan 2010 14:56:20 +0000 (UTC) Received: by ewy26 with SMTP id 26so15516310ewy.3 for ; Wed, 06 Jan 2010 06:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=SPucWQlSdFEC0E1BS6tfnSORGu7BGWRhx+MSoTd+Q8c=; b=pwJKH94D6rra/ji7dDQx/sTgXTGmVDTkyhVu+STPnUoQAVrsqowe7xh7sNLn1h2KCt pWxSsxKTDZspzuqNdR/0v+ska8cBSzGu7mV3bW+rSZDjGM9JLdHdEWj2fDN9YlooKC6F i00W2JnIXY1bwgiKVh7JBSncYOuec8XCnXLxU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=CPhSG0cATVFZK3mmP2DFLDc5eoQ7uxRgDn6XwJgYellsy48aofCCKiXOa2HLiPZ8bR dkylnUFXQVvD2uK88KHyjqyhnVxeWMIT1vSPvY8S1NWxDOFyhsJNZKloXPzltet6ntla cG1yRZBjE2245a/RpnuNFNTHOU/+tnTxYlLno= MIME-Version: 1.0 Received: by 10.216.87.81 with SMTP id x59mr3988361wee.147.1262789776817; Wed, 06 Jan 2010 06:56:16 -0800 (PST) In-Reply-To: <201001061358.16919.hselasky@c2i.net> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061216.12121.hselasky@c2i.net> <747dc8f31001060336j51d6c350x4abda99d18ec3423@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> From: Renato Botelho Date: Wed, 6 Jan 2010 12:55:56 -0200 Message-ID: <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 14:56:22 -0000 On Wed, Jan 6, 2010 at 10:58 AM, Hans Petter Selasky wrote: > On Wednesday 06 January 2010 12:36:58 Renato Botelho wrote: >> On Wed, Jan 6, 2010 at 9:16 AM, Hans Petter Selasky > wrote: >> > That is because these devices provide a device string, while your SUN >> > keyboard does not. See: >> > >> > usbconfig -u X -a Y dump_device_desc dump_curr_config_desc >> > >> > Look for fields starting with iXXXX . >> >> There is an iProduct string there: > > Yes. Could you dump the language table aswell: > > usbconfig -u X -a Y do_request 0x80 0x06 0x0300 0 0x100 And here is the data for Hub that this keyboard have: root@botelhor:/home/garga# usbconfig -u 0 -a 2 dump_device_desc dump_curr_config_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0430 idProduct = 0x100e bcdDevice = 0x0104 iManufacturer = 0x0000 iProduct = 0x0000 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0019 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 root@botelhor:/home/garga# usbconfig -u 0 -a 2 do_request 0x80 0x06 0x0300 0 0x100 REQUEST = <0x04 0x03 0x09 0x04><> -- Renato Botelho From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 16:04:18 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8242E1065676 for ; Wed, 6 Jan 2010 16:04:18 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 29B728FC0C for ; Wed, 6 Jan 2010 16:04:17 +0000 (UTC) Received: by yxe2 with SMTP id 2so2752228yxe.7 for ; Wed, 06 Jan 2010 08:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=wnACa8vQ90RPHsgfx1Ik0F08pavTo1Z84LBzNyHZ7YI=; b=bc5+KHl1JA27ivy8fFacMTL0AfE+JW0V/Ldfbf8e/HgWqzdZBBDj/2Dl+9SN1111Nq qXS7n0xSmlTX0j2YQUwB2Hv4RKJJ+Qo6MAHvkgs+1ehlW4k7q+fB+7PeLr4UXZ76iBdv isdeFyqhh7U2/njjgwIiV70As+07nUGXxwNao= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=FsdPDCXrTKI5U3eyDkE6Bu0MhK/AZH1RlLLJhDtFtmtB9wg6KJ1EbW4lo53vTEW+q0 4t7jUf5XInmaFPsPMAEAWWmAl8uTMYwVhmNLSlqBnsXnQ4YF/5v/Ley5JsdsqOSvHb29 gFDV9diW+H/Uw3L4AfkCnY5j9qGmSZCMhquOU= Received: by 10.101.53.2 with SMTP id f2mr882292ank.73.1262793850703; Wed, 06 Jan 2010 08:04:10 -0800 (PST) Received: from ?10.0.3.231? (pool-173-70-28-149.nwrknj.fios.verizon.net [173.70.28.149]) by mx.google.com with ESMTPS id 36sm8266877yxh.49.2010.01.06.08.04.09 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 08:04:10 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Beat Gaetzi In-Reply-To: <4B4225D9.9050504@FreeBSD.org> References: <4B4225D9.9050504@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" Date: Wed, 06 Jan 2010 11:03:51 -0500 Message-ID: <1262793831.96149.2.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: ports@FreeBSD.org, freebsd-emulation@FreeBSD.org, current@FreeBSD.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 16:04:18 -0000 On Mon, 2010-01-04 at 18:31 +0100, Beat Gaetzi wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > First of all thanks a lot for all the valuable feedback. We have updated > the ports Works without a problem here on "FreeBSD 8.0-STABLE #0 r201431 i386" with Windows XP and Debian Lenny guests. Thank you very much for this work. -- Alexandre Kovalenko (ОлекÑандр Коваленко) From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 18:00:08 2010 Return-Path: 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 D3CB81065693; Wed, 6 Jan 2010 18:00:08 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 27F048FC12; Wed, 6 Jan 2010 18:00:07 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=0nBJQVBq5C-3-Jjw5xgA:9 a=8iZOKPe6x3hI75qTx7-FoD4EwlIA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1159022400; Wed, 06 Jan 2010 19:00:06 +0100 From: Hans Petter Selasky To: Renato Botelho Date: Wed, 6 Jan 2010 18:58:45 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> In-Reply-To: <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001061858.45096.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 18:00:09 -0000 Could you try one more thing: sysctl hw.usb.debug=8 Then plug your USB keyboard. sysctl hw.usb.debug=0 Send resulting dmesg to me. --HPS From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 18:11:33 2010 Return-Path: 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 CF31E10656C0; Wed, 6 Jan 2010 18:11:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 2FE2C8FC0A; Wed, 6 Jan 2010 18:11:32 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=guER8Skv4X6-_uC0YswA:9 a=sS3adQ07oEo8as60tzgA:7 a=kNatMpWD56kxnEr3JJmqyt1uQgYA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1344137864; Wed, 06 Jan 2010 19:11:31 +0100 From: Hans Petter Selasky To: Renato Botelho Date: Wed, 6 Jan 2010 19:10:10 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> In-Reply-To: <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001061910.10257.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 18:11:33 -0000 On Wednesday 06 January 2010 15:55:56 Renato Botelho wrote: > Renato Botelho > Hi, Please try the following patch: http://p4web.freebsd.org/chv.cgi?CH=172667 http://perforce.freebsd.org/chv.cgi?CH=172667 --HPS From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 19:59:14 2010 Return-Path: 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 A3745106568B for ; Wed, 6 Jan 2010 19:59:14 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1748FC1C for ; Wed, 6 Jan 2010 19:59:12 +0000 (UTC) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o06HrlYZ017143 for ; Thu, 7 Jan 2010 04:53:47 +1100 Received: from c122-106-170-81.carlnfd1.nsw.optusnet.com.au (c122-106-170-81.carlnfd1.nsw.optusnet.com.au [122.106.170.81]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o06HrOQG004970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jan 2010 04:53:27 +1100 Date: Thu, 7 Jan 2010 04:53:24 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Poul-Henning Kamp In-Reply-To: <67020.1262425354@critter.freebsd.dk> Message-ID: <20100107041552.D55224@delplex.bde.org> References: <67020.1262425354@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Wed, 06 Jan 2010 20:04:56 +0000 Cc: Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Pieter de Goeje , Alexander Motin Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 19:59:14 -0000 On Sat, 2 Jan 2010, Poul-Henning Kamp wrote: > In message <20100102050843.GI3508@acme.spoerlein.net>, Ulrich =?utf-8?B?U3DDtnJ > sZWlu?= writes: > >> Sysinstall, fdisk, gpart >> and bsdlabel should all display some fat warning if partition/label >> alignment is not, say at 256kB (a common stripe size, right?) > > You overlook that MBR/Fdisk requires bootable slices to start at a > "track". That means that the propper slice-alignmen typically > will be 8*63=504 sectors. Only with a misconfigured "track" size of 63 512-byte sectors, as is typical. The default track size was 32 for SCSI disks about 20 years ago. This would have given 16KB alignment even with other misconfiguration. The "track" size used to be fully configurable (by typing it in to the BIOS) in BIOSes slightly less than 20 years old. Now it is not so configurable. The latest BIOS that I've used (not very late) only offers a few settings like AUTO, 63, 240 (?) and 255 (?) IIRC. GEOM axed the kernel's support for figuring out the BIOS geometry from the MBR if possible, so utilities now default to the "firmware" "track" size (which is 63 for all ATA disks less than about 10 years old), instead of the "track" size that is actually being used by the BIOS and was used previously run partitioning utilities, if any. BIOSes should have corresponding support under their AUTO setting, starting about 20 years ago with SCSI BIOSes (SCSI BIOSes needed this more since non-SCSI disks normally used their hardware geometry, while SCSI disks never had a hardware geometry). With MBR entries created by different partitioning utilities with inconsistent geometries, the AUTO-detection of a nonstandard geometry is likely to be wrong. This caused considerable confusion about 20 years ago with SCSI BIOSes, since the (fake) geometry was used more so it was important to fake it consistently, but the BIOSes were too primitive or inconsistent across manufacturers (BIOS in the host adaptor with severe size constraints) to do it consistently. Why only 8*63 for 252KB (4KB) alignment? 512*63 would give 256KB alignment and waste almost 16MB. 16*32 would give 256KB alignment with only 256KB-sizeof(MBR) wastage. > Unless you want to explore how many BIOS'es still are stupid about > this... If they are stupid enough to want a track offset, then they may be stupid enough to want a track offset of exactly 1. I haven't noticed any BIOSes or OSes that are stupid enough to want a track offset, but I might not have noticed since I always use a simple partitioning scheme except for debugging. Bruce From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 20:19:15 2010 Return-Path: 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 A21541065695 for ; Wed, 6 Jan 2010 20:19:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4C7938FC16 for ; Wed, 6 Jan 2010 20:19:15 +0000 (UTC) Received: (qmail 17310 invoked by uid 399); 6 Jan 2010 20:19:14 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 6 Jan 2010 20:19:14 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B44F049.4060805@FreeBSD.org> Date: Wed, 06 Jan 2010 12:19:21 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Harald Schmalzbauer References: <4B12CCA8.7050808@omnilan.de> <4B1341E7.1050805@FreeBSD.org> <4B445257.3080606@omnilan.de> In-Reply-To: <4B445257.3080606@omnilan.de> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: named, VARMFS=yes and FILESDIR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 20:19:15 -0000 Harald Schmalzbauer wrote: > Doug Barton schrieb am 30.11.2009 04:54 (localtime): > There are kind of "to be expected" incompatible options, of course, but > this one hit me some years before. Especcially for newbies, it's not > clear why these options shouldn't work together. Because what you're proposing is very far away from the typical way that name servers are configured. My goal is to provide a secure, safe default configuration that conforms to current best practices. What you want to do is an edge case, and not even something I see as reasonable to add an option in the base for given that the code is already much more complicated than it should be. >>> My idea is to create a namedb directory in /usr/share (like there's one >>> for sendmail) with duplicate entries of src/etc/namedb >> >> Why not just set named_chrootdir to /usr/share/namedb ? It's not 100% >> clear to me what you're trying to accomplish. Can you please go into a >> little more detail about your goals, rather than potential solutions? > > I think rc.d/var should be able to populate a named compliant /var. > Therefore it needs at least named.conf and named.root. > My idea was to save them in /usr/share, where many other (sendmail e.g.) > template duplicates also reside. When chrooting to /usr/share/namedb, it > also fails if I don't have the original installed /var, like if /var is > a freshly populated memory file system. If you are dead set on this course of action that's fine. What I suggest that you do is to create an rc.d script that does what you want, and include REQUIRE: var and BEFORE: named. Put this script in /usr/local/etc/rc.d and you'll be good to go. Off hand you will probably need to use the same mtree invocation that rc.d/named uses to create the file structure, but after that copying your files should be easy. You can start here for information on how to create your own rc.d scripts: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html >>> P.S.: named_conf definitions in rc.conf get lost. >> >> Yes, that's something that needs improvement. I have it on the list >> but since it's not common for people to alter the path to the conf >> file, and since in the past in order to do so you've had to add -c to >> named_flags anyway, I don't regard it as urgent. FYI, this is done. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 20:56:54 2010 Return-Path: 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 C0E051065670 for ; Wed, 6 Jan 2010 20:56:54 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 38F738FC1E for ; Wed, 6 Jan 2010 20:56:53 +0000 (UTC) Received: by fxm27 with SMTP id 27so3136907fxm.3 for ; Wed, 06 Jan 2010 12:56:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.102.17.15 with SMTP id 15mr1839860muq.133.1262811408640; Wed, 06 Jan 2010 12:56:48 -0800 (PST) In-Reply-To: <4B44F049.4060805@FreeBSD.org> References: <4B12CCA8.7050808@omnilan.de> <4B1341E7.1050805@FreeBSD.org> <4B445257.3080606@omnilan.de> <4B44F049.4060805@FreeBSD.org> Date: Wed, 6 Jan 2010 15:56:48 -0500 Message-ID: <1de79841001061256g29090b1q2c9c35ed6e00175f@mail.gmail.com> From: Michael Proto To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Harald Schmalzbauer , freebsd-current@freebsd.org Subject: Re: named, VARMFS=yes and FILESDIR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 20:56:54 -0000 On Wed, Jan 6, 2010 at 3:19 PM, Doug Barton wrote: > Harald Schmalzbauer wrote: >> Doug Barton schrieb am 30.11.2009 04:54 (localtime): >> There are kind of "to be expected" incompatible options, of course, but >> this one hit me some years before. Especcially for newbies, it's not >> clear why these options shouldn't work together. > > Because what you're proposing is very far away from the typical way > that name servers are configured. My goal is to provide a secure, safe > default configuration that conforms to current best practices. What > you want to do is an edge case, and not even something I see as > reasonable to add an option in the base for given that the code is > already much more complicated than it should be. > >>>> My idea is to create a namedb directory in /usr/share (like there's on= e >>>> for sendmail) with duplicate entries of src/etc/namedb >>> >>> Why not just set named_chrootdir to /usr/share/namedb ? =A0It's not 100= % >>> clear to me what you're trying to accomplish. Can you please go into a >>> little more detail about your goals, rather than potential solutions? >> >> I think rc.d/var should be able to populate a named compliant /var. >> Therefore it needs at least named.conf and named.root. >> My idea was to save them in /usr/share, where many other (sendmail e.g.) >> template duplicates also reside. When chrooting to /usr/share/namedb, it >> also fails if I don't have the original installed /var, like if /var is >> a freshly populated memory file system. > > If you are dead set on this course of action that's fine. What I > suggest that you do is to create an rc.d script that does what you > want, and include REQUIRE: var and BEFORE: named. Put this script in > /usr/local/etc/rc.d and you'll be good to go. Off hand you will > probably need to use the same mtree invocation that rc.d/named uses to > create the file structure, but after that copying your files should be > easy. You can start here for information on how to create your own > rc.d scripts: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scri= pts.html > FWIW, I already created one that does something similar. In my environment I have a MFS-based var that is populated with 'populate_var=3D"YES"' in /etc/rc.conf. I wrote a quick rc.d script to copy my saved config and zone files from from flash to /var/named/etc/namedb before starting named. This works with the /etc/namedb symlink and a MFS-based var for consistent bootup. Might save you a bit of time. In /etc/rc.conf it expects MINIBSD_named_dir to be set to the static directory on flash where the base config is copied from. Files in this dir can be updated as needed for named configuration or zone file changes. It also needs named_enable set to YES to ensure its run. In my case my /etc/rc.conf looks like this: MINIBSD_named_dir=3D"/etc/namedb-root" named_enable=3D"YES" And my base config and zone files live in /etc/namedb-root/namedb /usr/local/etc/rc.d/MINIBSD_named: ##START #!/bin/sh # Copy ${MINIBSD_named_dir} to /var/named/etc/named at startup for mfs # -mproto 20060919 # PROVIDE: MINIBSD_named # REQUIRE: FILESYSTEMS cleanvar # BEFORE: named syslogd . /etc/rc.subr name=3D"MINIBSD_named" rcvar=3D`set_rcvar named` start_cmd=3D"named_copy" named_copy() { if [ ! -d ${named_chrootdir}/etc/namedb ]; then echo "Copying ${MINIBSD_named_dir} to ${named_chrootdir}" mkdir -p ${named_chrootdir}/etc cp -p /etc/localtime ${named_chrootdir}/etc/ cp -Rfp ${MINIBSD_named_dir}/namedb ${named_chrootdir}/etc/ mkdir -p ${named_chrootdir}/var/run chown bind ${named_chrootdir}/var/run fi } load_rc_config named load_rc_config $name required_dirs=3D"$MINIBSD_named_dir" run_rc_command "$1" ##END Works like a charm for me, and I learned a lot about writing rc.d scripts (based on your rc.d HOWTO on the FreeBSD documentation site Doug, thanks very much for that!!) -Proto From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 21:46:35 2010 Return-Path: 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 CBFDB10656A3 for ; Wed, 6 Jan 2010 21:46:35 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 90AA88FC24 for ; Wed, 6 Jan 2010 21:46:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 1E4237CB50; Thu, 7 Jan 2010 10:46:34 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47nZyU41k5e8; Thu, 7 Jan 2010 10:46:29 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 7 Jan 2010 10:46:29 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 16D1911434; Thu, 7 Jan 2010 10:46:29 +1300 (NZDT) Date: Thu, 7 Jan 2010 10:46:28 +1300 From: Andrew Thompson To: Hans Petter Selasky Message-ID: <20100106214628.GD29437@citylink.fud.org.nz> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> <201001061910.10257.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001061910.10257.hselasky@c2i.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Renato Botelho , freebsd-current@freebsd.org Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 21:46:35 -0000 On Wed, Jan 06, 2010 at 07:10:10PM +0100, Hans Petter Selasky wrote: > On Wednesday 06 January 2010 15:55:56 Renato Botelho wrote: > > Renato Botelho > > > > Hi, > > Please try the following patch: > > http://p4web.freebsd.org/chv.cgi?CH=172667 I have gone ahead and committed this as r201680 as it fixes strings on some devices for me. Andrew From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 21:53:39 2010 Return-Path: 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 105C9106566B; Wed, 6 Jan 2010 21:53:39 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 651748FC0C; Wed, 6 Jan 2010 21:53:38 +0000 (UTC) Received: by ewy26 with SMTP id 26so15957416ewy.3 for ; Wed, 06 Jan 2010 13:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=1dgEunYmMLx8L2Wxn6tBZ5uSk5MErG6Ba8U430SK0DM=; b=ud4H5g+Loqyd+bkeoysmxPMzR5Si5Z7ZYZyqtnass09mo/MIBvxhVo5gJGHMhOBhSs iX6ThwEnf32zaWaQAHWnwtxAlcgyig6h5tcEPw4aCOXmtTijksUhQXNB3XPoHkem8Gae 4uOcVqoe2z76Biwlw+wGjRKkByjj3f8Bxa2as= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=gZYXww4flRg7GTwwIpyPArRnFKr74aUZw246DslByqU3uXAY7Qoiznz5IVRnsjsSKT M5PnAWEB4o61KNmKd/uVBPAXC6wknGRN6NUu+AE0+flYtJYp/HUFOtQ1aaOqddiXVQF0 c6U6Lzw5uMHuQHWRAL/ytJ/mTsa+9v1AlLwpo= MIME-Version: 1.0 Received: by 10.216.85.197 with SMTP id u47mr252003wee.133.1262814808144; Wed, 06 Jan 2010 13:53:28 -0800 (PST) In-Reply-To: <20100106214628.GD29437@citylink.fud.org.nz> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> <201001061910.10257.hselasky@c2i.net> <20100106214628.GD29437@citylink.fud.org.nz> From: Renato Botelho Date: Wed, 6 Jan 2010 19:53:08 -0200 Message-ID: <747dc8f31001061353y1d4495a6y8e261c680a45c34c@mail.gmail.com> To: Andrew Thompson Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Hans Petter Selasky Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 21:53:39 -0000 On Wed, Jan 6, 2010 at 7:46 PM, Andrew Thompson wrote: > On Wed, Jan 06, 2010 at 07:10:10PM +0100, Hans Petter Selasky wrote: >> On Wednesday 06 January 2010 15:55:56 Renato Botelho wrote: >> > Renato Botelho >> > >> >> Hi, >> >> Please try the following patch: >> >> http://p4web.freebsd.org/chv.cgi?CH=172667 > > > I have gone ahead and committed this as r201680 as it fixes strings on > some devices for me. I'll rebuild my kernel tomorrow morning and let you know the results. Thank you both for quick response -- Renato Botelho From owner-freebsd-current@FreeBSD.ORG Wed Jan 6 22:38:24 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 998A81065695 for ; Wed, 6 Jan 2010 22:38:24 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5BE7B8FC14 for ; Wed, 6 Jan 2010 22:38:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 5E3377BDB2 for ; Thu, 7 Jan 2010 11:38:23 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rYNS7feyAnXV for ; Thu, 7 Jan 2010 11:38:19 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP for ; Thu, 7 Jan 2010 11:38:16 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id B866111432; Thu, 7 Jan 2010 11:38:15 +1300 (NZDT) Date: Thu, 7 Jan 2010 11:38:15 +1300 From: Andrew Thompson To: current@freebsd.org Message-ID: <20100106223815.GE29437@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: 3G wireless devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 22:38:24 -0000 Hi, I am looking for people who have 3G cellular wireless devices which do not eject from Disk mode (provides daX or cdX drive with Win/Mac driver) into Modem mode. Please ensure you are running an up to date kernel from head r201681 or later. Novatel and Sierra devices should all work, any reports on Stelera, Option, Cmotech, Qualcomm, etc would be great. regards, Andrew From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 01:53:41 2010 Return-Path: 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 0AE23106566B for ; Thu, 7 Jan 2010 01:53:41 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6059F8FC08 for ; Thu, 7 Jan 2010 01:53:39 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o071pCXc018466; Thu, 7 Jan 2010 12:21:12 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Thu, 7 Jan 2010 12:23:38 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Jan 2010 12:23:38 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Jan 2010 10:53:37 +0900 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o071udv5036183; Thu, 7 Jan 2010 09:56:39 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o071ucfj036182; Thu, 7 Jan 2010 09:56:38 +0800 (WST) (envelope-from wilkinsa) Date: Thu, 7 Jan 2010 09:56:38 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100107015638.GD31217@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, obrien@freebsd.org References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <201001050828.49809.jhb@freebsd.org> <20100106024434.GA29741@stlux503.dsto.defence.gov.au> <20100106090030.GA61088@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100106090030.GA61088@dragon.NUXI.org> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 07 Jan 2010 01:53:37.0439 (UTC) FILETIME=[3A6B22F0:01CA8F3C] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17116.003 X-TM-AS-Result: No--2.440900-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 01:53:41 -0000 0n Wed, Jan 06, 2010 at 01:00:30AM -0800, David O'Brien wrote: >This seems weird - you should have kernel.symbols that gives you what you >need from from kernel.debug for kgdb. Dam! I already cleared out /var/crash :( -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 02:57:20 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ADE11065670 for ; Thu, 7 Jan 2010 02:57:20 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id CD0068FC0A for ; Thu, 7 Jan 2010 02:57:19 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so3998427qwb.7 for ; Wed, 06 Jan 2010 18:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=gwEnqLJOQIWZtXicyR66Fj4C1YbhDtTdGHPSn0kG8LE=; b=Zprh2T2OqWLykJPglmUaPhnqvKY/RhqMQu0NNEp8AxUqXPBdht9DB7RdeTPEwkhlN6 p2bzhBq1mHdGPTntIinMieODHUYOgM12wcj6bZjmpwGlTfOaEFOWdQBpilmG9l/ygQVu mLyRQT81QzvGfoAC53aXAn4dnV+XRjXC5wMrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=B7veF1grH0M6pC7jnRzC01r2QnFdTB8QAfLS5n1D7jKi0QOMtfZRR+sWdwvY8Ivo7L EvkqmEIeUojpkLb0dnUuSFl4UAm1L+XsZcAhlKEPRufwXmp54Uz9bS8dU/vhm/sYjE9X zJNyb9sJPJ9TZO/n9qUQgmdpfaoCUrUqP7sEU= Received: by 10.224.40.2 with SMTP id i2mr13295820qae.385.1262833033193; Wed, 06 Jan 2010 18:57:13 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 22sm18645064qyk.6.2010.01.06.18.57.10 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 18:57:11 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Wed, 6 Jan 2010 18:57:27 -0800 From: Weongyo Jeong Date: Wed, 6 Jan 2010 18:57:27 -0800 To: Rohit Grover Message-ID: <20100107025727.GJ1491@weongyo> Mail-Followup-To: Rohit Grover , current@freebsd.org References: <20091223035331.GA1293@weongyo> <426bed111001021900i4ed55836u456a12f6c578df72@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <426bed111001021900i4ed55836u456a12f6c578df72@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: current@freebsd.org Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 02:57:20 -0000 On Sun, Jan 03, 2010 at 04:00:26PM +1300, Rohit Grover wrote: > Hi, > > Thanks a lot for writing a driver for Broadcom Wireless cards. > I have a BCM4321 on my laptop. > > Upon loading ssb, I get the following on the console: > ssb0: mem 0xd0500000-0xd0503fff,0xd0000000-0xd00fffff irq 16 at > device 0.0 on pci2 > ssb0: warn: multiple PCI(E) cores > ssb0: unsupportted coreid 0x817 > > Thereafter, upon loading bwn_v4_ucode and if_bwn, I get nothing on the > console; and the wlan interface doesn't > appear either. > > Executing 'pciconfig -lv' after the above reveals the following about my > wireless card: > > ssb0@pci0:2:0:0: class=0x028000 card=0x0088106b chip=0x432814e4 > rev=0x03 > hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'Broadcom 432AGN 802.11a/b/g/draft-n Wi-Fi Solution > (BCM4321KFBG)' > class = network > > > Could you please help with this? It looks you have a N PHY device which isn't supported by bwn(4) yet so there is a possibility that with bwn(4) you could fail to attach currently. Could you please show me your full dmesg? It's weird for me that if_bwn doesn't print any messages that your device revision could not be supported by bwn(4). regards, Weongyo Jeong From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 03:38:19 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876D1106566B; Thu, 7 Jan 2010 03:38:19 +0000 (UTC) (envelope-from rgrover1@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 547648FC08; Thu, 7 Jan 2010 03:38:19 +0000 (UTC) Received: by pwi15 with SMTP id 15so12725899pwi.3 for ; Wed, 06 Jan 2010 19:38:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=cn9cBcvujOWDz8+qDBb/Nu8cbgch74VPx+rDR+CRSD0=; b=T+68XRC7GRnv0UU1PtU5xDixhM05QIcB2MqV7vyAflSK2q3V5URBoANM4NIe6xbXwN iyX5rETlmo9zxBrQwVOkbmfz6CW7yytx4wG8hORchUj3rJ3Q+FJ14AcA9fjwmKQeytb2 g/1BiEvT07ON1xmaC7DjUFJ3wUgMh70O/w73Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=xYSixKopDmDAkPMd7V3iHyhKkCqKK+Rn7kh90xoAuc4YdA4BAy15B+xTyfkCfRy4yp 3guZ5LwRB5cIdnk3bL0k0GySvO4CKuHp11aUc3eptnum8CrX+QSM72SDh6yylPgVvmEr woI0H4pXwjtpIyBVBWAwOujNEc1EirLFvWdrw= MIME-Version: 1.0 Received: by 10.114.165.15 with SMTP id n15mr17172244wae.83.1262835492523; Wed, 06 Jan 2010 19:38:12 -0800 (PST) In-Reply-To: <20100107025727.GJ1491@weongyo> References: <20091223035331.GA1293@weongyo> <426bed111001021900i4ed55836u456a12f6c578df72@mail.gmail.com> <20100107025727.GJ1491@weongyo> Date: Thu, 7 Jan 2010 16:38:12 +1300 Message-ID: <426bed111001061938j70d2846bk19375f6369c2c102@mail.gmail.com> From: Rohit Grover To: Weongyo Jeong , Rohit Grover , current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 03:38:19 -0000 Hi, > Could you please show me your full dmesg? It's weird for me that if_bwn > doesn't print any messages that your device revision could not be > supported by bwn(4). > I get only the following on my console after loading ssb: ssb0: mem 0xd0500000-0xd0503fff,0xd0000000-0xd00fffff irq 16 at device 0.0 on pci2 ssb0: warn: multiple PCI(E) cores ssb0: unsupportted coreid 0x817 There are no messages from the attach. regards, Rohit. From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 04:05:57 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5941065676 for ; Thu, 7 Jan 2010 04:05:57 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id DA2398FC12 for ; Thu, 7 Jan 2010 04:05:56 +0000 (UTC) Received: by qyk4 with SMTP id 4so7549233qyk.7 for ; Wed, 06 Jan 2010 20:05:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=96fGhjcO6qdENYsOCtEMqh6Nh7PKDY0ImjM38OApJjE=; b=MMBAUXPotrsJWtRyYBOz/J2byuOwji0+cH3nJjcBsPnYFmKzdc3Y2AWLagcroMOTdf T01Q2xaV+Vo0frLkxR307+XVsGXIuZKbSZixI8ojAxYd1K+qXqpHjJf0a1vxFyJPat2k 7ZdSFpn3Mz8JOvUDM/G+JZXadqISdbt7EUzY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=SSt/fPjHLfoqAzVdSbsrcsvGnaZOI4sCpNVgEJNf2S3gYi/+bhEMZMQf9gxSkyEw9R e5YoMMCY4PLLCseZiHH2kBO4w8wF8JM+pFpJkWKOZjbQuLYDJej1EzXuH+kT5Eh/Rj0I fAEctkuvaCTmKE3Jdxlr2Dtp4XtsoxYrhQ9/M= Received: by 10.229.131.102 with SMTP id w38mr5737690qcs.35.1262837144884; Wed, 06 Jan 2010 20:05:44 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm207754qyk.8.2010.01.06.20.05.42 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 20:05:43 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Wed, 6 Jan 2010 20:06:00 -0800 From: Weongyo Jeong Date: Wed, 6 Jan 2010 20:06:00 -0800 To: Rohit Grover Message-ID: <20100107040600.GN1491@weongyo> Mail-Followup-To: Rohit Grover , current@freebsd.org References: <20091223035331.GA1293@weongyo> <426bed111001021900i4ed55836u456a12f6c578df72@mail.gmail.com> <20100107025727.GJ1491@weongyo> <426bed111001061938j70d2846bk19375f6369c2c102@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="7CZp05NP8/gJM8Cl" Content-Disposition: inline In-Reply-To: <426bed111001061938j70d2846bk19375f6369c2c102@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: current@freebsd.org Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 04:05:57 -0000 --7CZp05NP8/gJM8Cl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 07, 2010 at 04:38:12PM +1300, Rohit Grover wrote: > Hi, > > > > Could you please show me your full dmesg? It's weird for me that if_bwn > > doesn't print any messages that your device revision could not be > > supported by bwn(4). > > > > I get only the following on my console after loading ssb: > > ssb0: mem 0xd0500000-0xd0503fff,0xd0000000-0xd00fffff irq 16 at > device 0.0 on pci2 > ssb0: warn: multiple PCI(E) cores > ssb0: unsupportted coreid 0x817 > > There are no messages from the attach. Please try attached patch in bwn_probe() and show me dmesg output. If bwn(4) doesn't print anything that means ssb(4) works incorrectly. But there are some outputs and bwn(4) doesn't be attached then your device revision isn't supported. regards, Weongyo Jeong --7CZp05NP8/gJM8Cl Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="patch_bwn_20100106.diff" ==== //depot/user/weongyo/wireless/src/sys/dev/bwn/if_bwn.c#21 - /mnt/t62/sys/dev/bwn/if_bwn.c ==== @@ -567,6 +567,9 @@ struct ssb_dev_softc *sd = device_get_ivars(dev); int i; + device_printf(dev, "vendor %#x cid %#x rev %d\n", sd->sd_id.vendor, + sd->sd_id.cid, sd->sd_id.rev); + for (i = 0; i < sizeof(bwn_devs) / sizeof(bwn_devs[0]); i++) { if (sd->sd_id.vendor == bwn_devs[i].vendor && sd->sd_id.cid == bwn_devs[i].cid && --7CZp05NP8/gJM8Cl-- From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 06:20:47 2010 Return-Path: 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 0511C1065693 for ; Thu, 7 Jan 2010 06:20:47 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF308FC22 for ; Thu, 7 Jan 2010 06:20:45 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o076IIVU003435 for ; Thu, 7 Jan 2010 16:48:18 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Thu, 7 Jan 2010 16:50:45 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Jan 2010 16:50:44 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Jan 2010 15:20:43 +0900 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o076NjHI037484 for ; Thu, 7 Jan 2010 14:23:45 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o076NjRp037483 for freebsd-current@freebsd.org; Thu, 7 Jan 2010 14:23:45 +0800 (WST) (envelope-from wilkinsa) Date: Thu, 7 Jan 2010 14:23:45 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100107062344.GN31217@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org References: <20100106223815.GE29437@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100106223815.GE29437@citylink.fud.org.nz> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 07 Jan 2010 06:20:44.0076 (UTC) FILETIME=[8B09DEC0:01CA8F61] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17116.005 X-TM-AS-Result: No--9.639800-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Subject: Re: 3G wireless devices [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 06:20:47 -0000 0n Thu, Jan 07, 2010 at 11:38:15AM +1300, Andrew Thompson wrote: >I am looking for people who have 3G cellular wireless devices which do >not eject from Disk mode (provides daX or cdX drive with Win/Mac driver) >into Modem mode. Please ensure you are running an up to date kernel from >head r201681 or later. Hi Andrew, I can test a Sierra card (soon-ish). However, in the meantime can you please elaborate on what exactly is meant by: "eject from Disk mode (provides daX or cdX drive with Win/Mac driver) into Modem mode." Thanks -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 08:36:42 2010 Return-Path: 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 D00821065692 for ; Thu, 7 Jan 2010 08:36:42 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 46EA68FC1D for ; Thu, 7 Jan 2010 08:36:41 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o078YE2u022878 for ; Thu, 7 Jan 2010 19:04:14 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Thu, 7 Jan 2010 19:06:41 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Jan 2010 19:06:40 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Jan 2010 17:36:39 +0900 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o078de06038294 for ; Thu, 7 Jan 2010 16:39:40 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o078de28038293 for freebsd-current@freebsd.org; Thu, 7 Jan 2010 16:39:40 +0800 (WST) (envelope-from wilkinsa) Date: Thu, 7 Jan 2010 16:39:40 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100107083940.GA38229@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <201001050828.49809.jhb@freebsd.org> <20100106024434.GA29741@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100106024434.GA29741@stlux503.dsto.defence.gov.au> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 07 Jan 2010 08:36:39.0701 (UTC) FILETIME=[882B7C50:01CA8F74] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17116.005 X-TM-AS-Result: No--8.207100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 08:36:42 -0000 0n Wed, Jan 06, 2010 at 10:44:34AM +0800, Wilkinson, Alex wrote: > 0n Tue, Jan 05, 2010 at 08:28:49AM -0500, John Baldwin wrote: > > >Are you able to get a crashdump and examine it with kgdb? > >rebuilt world+kernel and overwrote kernel.debug :( >when it happens again I will get a bt from kgdb(1). OK, from: FreeBSD 9.0-CURRENT #3 r201546: Tue Jan 5 15:51:52 WST 2010 Looks like something with VM subsystem is causing this. Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) r = 0 (0xc0f6c300) locked @ /usr/src/sys/vm/vm_page.c:1052 exclusive sleep mutex vm object (standard object) r = 0 (0xc207c000) locked @ /usr/src/sys/vm/vm_fault.c:269 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e8878954,c08d26e5,c0cc176e,10d,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0cc176e,10d,ffffffff,c0f31e64,e887898c,...) at kdb_backtrace+0x29 _witness_debugger(c0c9d73e,e88789a0,4,1,0,...) at _witness_debugger+0x25 witness_warn(5,0,c0cd219f,c0c1b84e,c6737000,...) at witness_warn+0x1fd trap(e8878a2c) at trap+0x19e calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0b04452, esp = 0xe8878a6c, ebp = 0xe8878ac0 --- vm_reserv_alloc_page(c207c000,707b,0,37e,c207c000,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207c000,707b,0,40,e8878c0c,...) at vm_page_alloc+0x25e vm_fault(c686fae0,30dff000,2,0,30dff004,...) at vm_fault+0x575 trap_pfault(5,0,c0cd219f,4,c6737000,...) at trap_pfault+0x10d trap(e8878d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ec95, esp = 0xbfbfe4d4, ebp = 0xbfbfe4e8 --- Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0xc445d070 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0b04452 stack pointer = 0x28:0xe8878a6c frame pointer = 0x28:0xe8878ac0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = 1455 (initial thread) [thread pid 1455 tid 100081 ] Stopped at vm_reserv_alloc_page+0x102: cmpl %eax,0x10(%esi) lock order reversal: (Giant after non-sleepable) 1st 0xc0f6c300 vm page queue free mutex (vm page queue free mutex) @ /usr/src/sys/vm/vm_page.c:1052 2nd 0xc0df2f50 Giant (Giant) @ /usr/src/sys/dev/usb/input/ukbd.c:1594 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e88787a4,c08d26e5,c08c339b,c0c9e192,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08c339b,c0c9e192,c612b5f0,c612a1a0,e8878800,...) at kdb_backtrace+0x29 _witness_debugger(c0c9e192,c0df2f50,c0cba2ee,c612a1a0,c0c897f0,...) at _witness_debugger+0x25 witness_checkorder(c0df2f50,9,c0c897f0,63a,0,...) at witness_checkorder+0x839 _mtx_lock_flags(c0df2f50,0,c0c897f0,63a,c6758570,...) at _mtx_lock_flags+0xc4 ukbd_poll(c6a48000,1,c68d0000,1,e8878880,...) at ukbd_poll+0x48 kbdmux_poll(c6181900,1,c68d0084,c0df1bc8,1,...) at kbdmux_poll+0x46 sc_cngetc(c0d3f3e0,78,e8878898,c084f076,e88788b8,...) at sc_cngetc+0xc3 cncheckc(e88788b8,c04d20a5,c0c4070b,c04d3350,e88788b4,...) at cncheckc+0x3a cngetc(c0c4070b,c04d3350,e88788b4,e88788f0,1,...) at cngetc+0x16 db_readline(c0dc12e0,78,e88788d4,c04d0ce6,c0c4070b,...) at db_readline+0x75 db_read_line(c0c4070b,e8878928,c04d2b9d,c0cce2ae,3,...) at db_read_line+0x1a db_command_loop(c0cce2ae,3,0,e887890c,0,...) at db_command_loop+0x46 db_trap(c,0,b,28,e8878a2c,...) at db_trap+0xdd kdb_trap(c,0,e8878a2c,1,1,...) at kdb_trap+0x96 trap_fatal(5,0,c0cd219f,c0c1b84e,c6737000,...) at trap_fatal+0x2ef trap(e8878a2c) at trap+0x1ac calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0b04452, esp = 0xe8878a6c, ebp = 0xe8878ac0 --- vm_reserv_alloc_page(c207c000,707b,0,37e,c207c000,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207c000,707b,0,40,e8878c0c,...) at vm_page_alloc+0x25e vm_fault(c686fae0,30dff000,2,0,30dff004,...) at vm_fault+0x575 trap_pfault(5,0,c0cd219f,4,c6737000,...) at trap_pfault+0x10d trap(e8878d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ec95, esp = 0xbfbfe4d4, ebp = 0xbfbfe4e8 --- db> bt Tracing pid 1455 tid 100081 td 0xc6739900 vm_reserv_alloc_page(c207c000,707b,0,37e,c207c000,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207c000,707b,0,40,e8878c0c,...) at vm_page_alloc+0x25e vm_fault(c686fae0,30dff000,2,0,30dff004,...) at vm_fault+0x575 trap_pfault(5,0,c0cd219f,4,c6737000,...) at trap_pfault+0x10d trap(e8878d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ec95, esp = 0xbfbfe4d4, ebp = 0xbfbfe4e8 --- db> db> show alllocks Process 36147 (sh) thread 0xc6738900 (100102) exclusive sleep mutex vm object (standard object) r = 0 (0xc9f1d110) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc71b0958) locked @ /usr/src/sys/vm/vm_map.c:3532 Process 36146 (as) thread 0xcb9dab40 (100400) exclusive lockmgr bufwait (bufwait) r = 0 (0xc5e75928) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xc9047388) locked @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1505 exclusive lockmgr ufs (ufs) r = 0 (0xca096388) locked @ /usr/src/sys/kern/vfs_lookup.c:497 Process 36143 (cc1) thread 0xcbf38d80 (100626) exclusive lockmgr bufwait (bufwait) r = 0 (0xc5dcbbd0) locked @ /usr/src/sys/kern/vfs_bio.c:1835 shared lockmgr ufs (ufs) r = 0 (0xcad59e28) locked @ /usr/src/sys/kern/vfs_vnops.c:536 Process 36110 (cc1) thread 0xcbf2d900 (100527) exclusive sleep mutex vm object (standard object) r = 0 (0xca692110) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc6d02c10) locked @ /usr/src/sys/vm/vm_map.c:3532 Process 35791 (make) thread 0xcbf44d80 (100674) exclusive lockmgr bufwait (bufwait) r = 0 (0xc5e4f8e0) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xcaecc058) locked @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1505 exclusive lockmgr ufs (ufs) r = 0 (0xc6d586b8) locked @ /usr/src/sys/kern/vfs_subr.c:2091 Process 8744 (syslogd) thread 0xc6b446c0 (100130) exclusive lockmgr bufwait (bufwait) r = 0 (0xc5ea03d0) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xc6c01278) locked @ /usr/src/sys/kern/vfs_vnops.c:607 Process 4011 (VirtualBox) thread 0xc6dca900 (100268) exclusive sleep mutex process lock (process lock) r = 0 (0xc7565330) locked @ /usr/src/sys/kern/kern_sig.c:1189 Process 1474 (gnome-pty-helper) thread 0xc7130240 (100195) exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc712a898) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148 Process 1471 (urxvtd) thread 0xc6de2000 (100193) exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc6e6d228) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148 Process 1464 (tilda) thread 0xc6d55480 (100186) exclusive sleep mutex vm object (standard object) r = 0 (0xc7723088) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc6b4a048) locked @ /usr/src/sys/vm/vm_map.c:3532 Process 1455 (Xorg) thread 0xc6739900 (100081) exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) r = 0 (0xc0f6c300) locked @ /usr/src/sys/vm/vm_page.c:1052 exclusive sleep mutex vm object (standard object) r = 0 (0xc207c000) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc686fb28) locked @ /usr/src/sys/vm/vm_map.c:3532 Process 14 (usb) thread 0xc6487240 (100045) exclusive sx 123456789ABCDEF - USB device SX lock (123456789ABCDEF - USB device SX lock) r = 0 (0xc6722428) locked @ /usr/src/sys/dev/usb/usb_request.c:322 db> Why doesn't this panic and write a core ? I seem to have to use "call doadump" always. db> panic panic: from debugger cpuid = 2 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e8878768,c08978bd,c0df8280,0,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0df8280,0,c0c988b2,17b,c6739900,...) at kdb_backtrace+0x29 mi_switch(100,0,c0c9997c,98c,2,...) at mi_switch+0x12d sched_bind(c6739900,0,c0c97cc0,118,e88787cc,...) at sched_bind+0x8a boot(c0c97e06,c0c97e06,c0c4065c,e8878804,2,...) at boot+0x47 panic(c0c4065c,e88788c8,c04d0ba1,c0b04452,0,...) at panic+0x152 db_panic(c0b04452,0,ffffffff,e8878840,1,...) at db_panic+0x17 db_command(c0c4070b,e8878928,c04d2b9d,c0cce2ae,3,...) at db_command+0x381 db_command_loop(c0cce2ae,3,0,e887890c,0,...) at db_command_loop+0x5a db_trap(c,0,b,28,e8878a2c,...) at db_trap+0xdd kdb_trap(c,0,e8878a2c,1,1,...) at kdb_trap+0x96 trap_fatal(5,0,c0cd219f,c0c1b84e,c6737000,...) at trap_fatal+0x2ef trap(e8878a2c) at trap+0x1ac calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0b04452, esp = 0xe8878a6c, ebp = 0xe8878ac0 --- vm_reserv_alloc_page(c207c000,707b,0,37e,c207c000,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207c000,707b,0,40,e8878c0c,...) at vm_page_alloc+0x25e vm_fault(c686fae0,30dff000,2,0,30dff004,...) at vm_fault+0x575 trap_pfault(5,0,c0cd219f,4,c6737000,...) at trap_pfault+0x10d trap(e8878d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ec95, esp = 0xbfbfe4d4, ebp = 0xbfbfe4e8 --- db> call doadump Physical memory: 2005 MB Dumping 267 MB: 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12 Dump complete = 0xf db> reset cpu_reset: Restarting BSP KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e8878770,c08978bd,c0df8280,0,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0df8280,0,c0c988b2,17b,0,...) at kdb_backtrace+0x29 mi_switch(60b,0,c0c9997c,815,2,...) at mi_switch+0x12d sched_preempt(c6739900,2,0,e88787fc,c0ba92de,...) at sched_preempt+0xb5 ipi_bitmap_handler(e8870008,e8870028,c07e0028,c0ce4b30,c0c6e3af,...) at ipi_bitmap_handler+0x34 Xipi_intr_bitmap_handler() at Xipi_intr_bitmap_handler+0x2e --- interrupt, eip = 0xc0bc8e17, esp = 0xe88787f0, ebp = 0xe88787fc --- cpu_reset(e88788c8,c04d0ba1,c0b04452,0,ffffffff,...) at cpu_reset+0xc7 db_reset(c0b04452,0,ffffffff,e8878840,1,...) at db_reset+0x8 db_command(c0c4070b,e8878928,c04d2b9d,c0cce2ae,3,...) at db_command+0x381 db_command_loop(c0cce2ae,3,0,e887890c,0,...) at db_command_loop+0x5a db_trap(c,0,b,28,e8878a2c,...) at db_trap+0xdd kdb_trap(c,0,e8878a2c,1,1,...) at kdb_trap+0x96 trap_fatal(5,0,c0cd219f,c0c1b84e,c6737000,...) at trap_fatal+0x2ef trap(e8878a2c) at trap+0x1ac calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0b04452, esp = 0xe8878a6c, ebp = 0xe8878ac0 --- vm_reserv_alloc_page(c207c000,707b,0,37e,c207c000,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207c000,707b,0,40,e8878c0c,...) at vm_page_alloc+0x25e vm_fault(c686fae0,30dff000,2,0,30dff004,...) at vm_fault+0x575 trap_pfault(5,0,c0cd219f,4,c6737000,...) at trap_pfault+0x10d trap(e8878d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ec95, esp = 0xbfbfe4d4, ebp = 0xbfbfe4e8 --- db> db> reset cpu_reset: Stopping other CPUs Machine is in a 100% hung state here (frozen). Had to do a 'hard reset' at this point. Upon bootstrap (once background fsck kicked in) I got lots of LORs: login: lock order reversal: 1st 0xc68e4c08 pseudofs (pseudofs) @ /usr/src/sys/kern/vfs_subr.c:2091 2nd 0xc0df30fc allproc (allproc) @ /usr/src/sys/kern/kern_proc.c:283 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e888c79c,c08d26e5,c08c339b,c0c9e192,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08c339b,c0c9e192,c6131be8,c612a0d0,e888c7f8,...) at kdb_backtrace+0x29 _witness_debugger(c0c9e192,c0df30fc,c0c97034,c612a0d0,c0c96f07,...) at _witness_debugger+0x25 witness_checkorder(c0df30fc,1,c0c96f07,11b,0,...) at witness_checkorder+0x839 _sx_slock(c0df30fc,0,c0c96f07,11b,c6537180,...) at _sx_slock+0x85 pfind(5ab,c6536ba0,4,c0c96593,c67ad900,...) at pfind+0x2f pfs_visible(0,0,c0c8d93e,7c,c68e4bb0,...) at pfs_visible+0x3a pfs_lookup(e888c8f4,c68e4bb0,e888cbd0,c68e4bb0,e888c914,...) at pfs_lookup+0x3dd VOP_CACHEDLOOKUP_APV(c0d7f160,e888c8f4,e888cbd0,e888cbbc,c6dbc080,...) at VOP_CACHEDLOOKUP_APV+0xa5 vfs_cache_lookup(e888c988,e888c988,e888cba4,200000,e888cba4,...) at vfs_cache_lookup+0xd6 VOP_LOOKUP_APV(c0d7f160,e888c988,e888cbd0,30b,e888cbbc,...) at VOP_LOOKUP_APV+0xa5 lookup(e888cba4,c0ca49af,ea,c5,c67abaa0,...) at lookup+0x66b namei(e888cba4,e888ca80,c0c927ae,5aa,0,...) at namei+0x55f vn_open_cred(e888cba4,e888cc5c,0,0,c6dbc080,...) at vn_open_cred+0x32f vn_open(e888cba4,e888cc5c,0,c6eb41f8,4,...) at vn_open+0x3b kern_openat(c67ad900,ffffff9c,2834c5e0,0,1,...) at kern_openat+0x11f kern_open(c67ad900,2834c5e0,0,0,0,...) at kern_open+0x35 open(c67ad900,e888ccf8,c,c0c9b345,c0d820ec,...) at open+0x30 syscall(e888cd38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (5, FreeBSD ELF32, open), eip = 0x281ec473, esp = 0xbfbfe6fc, ebp = 0xbfbfe728 --- lock order reversal: 1st 0xc6f28058 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:423 2nd 0xc5fa6a04 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559 3rd 0xc68e4e28 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:544 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e8a013f4,c08d26e5,c08c339b,c0c9e1ab,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08c339b,c0c9e1ab,c612dfc8,c61317d8,e8a01450,...) at kdb_backtrace+0x29 _witness_debugger(c0c9e1ab,c68e4e28,c0c909c1,c61317d8,c0cbd7d2,...) at _witness_debugger+0x25 witness_checkorder(c68e4e28,9,c0cbd7d2,220,0,...) at witness_checkorder+0x839 __lockmgr_args(c68e4e28,80100,c68e4e48,0,0,...) at __lockmgr_args+0x824 ffs_lock(e8a01574,c0f32620,c6dd62e4,80100,c68e4dd0,...) at ffs_lock+0x8a VOP_LOCK1_APV(c0da3d40,e8a01574,e8a01594,c0dbe5e0,c68e4dd0,...) at VOP_LOCK1_APV+0xb5 _vn_lock(c68e4dd0,80100,c0cbd7d2,220,c6166600,...) at _vn_lock+0x5e ffs_snapshot(c68e6510,c6741c40,c0cbf137,168,246,...) at ffs_snapshot+0x150b ffs_mount(c68e6510,0,c0ca4bbf,3d6,0,...) at ffs_mount+0x154e vfs_donmount(c6dd6240,211100,c6dbcd00,c6dbcd00,bfbfeca4,...) at vfs_donmount+0x1012 nmount(c6dd6240,e8a01cf8,c,c6dd6240,c0d849b8,...) at nmount+0x75 syscall(e8a01d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (378, FreeBSD ELF32, nmount), eip = 0x280efaeb, esp = 0xbfbfeacc, ebp = 0xbfbfee18 --- lock order reversal: 1st 0xc5fa6a04 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559 2nd 0xc6fcac9c snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:793 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e8a013f4,c08d26e5,c08c339b,c0c9e192,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08c339b,c0c9e192,c612dfc8,c6132200,e8a01450,...) at kdb_backtrace+0x29 _witness_debugger(c0c9e192,c6fcac9c,c0cbd834,c6132200,c0cbd7d2,...) at _witness_debugger+0x25 witness_checkorder(c6fcac9c,9,c0cbd7d2,319,c6f28078,...) at witness_checkorder+0x839 __lockmgr_args(c6fcac9c,80400,c6f28078,0,0,...) at __lockmgr_args+0x824 ffs_lock(e8a01574,0,0,80400,c6f28000,...) at ffs_lock+0x8a VOP_LOCK1_APV(c0da3d40,e8a01574,c2181a38,c0dbe5e0,c6f28000,...) at VOP_LOCK1_APV+0xb5 _vn_lock(c6f28000,80400,c0cbd7d2,319,0,...) at _vn_lock+0x5e ffs_snapshot(c68e6510,c6741c40,c0cbf137,168,246,...) at ffs_snapshot+0x28b6 ffs_mount(c68e6510,0,c0ca4bbf,3d6,0,...) at ffs_mount+0x154e vfs_donmount(c6dd6240,211100,c6dbcd00,c6dbcd00,bfbfeca4,...) at vfs_donmount+0x1012 nmount(c6dd6240,e8a01cf8,c,c6dd6240,c0d849b8,...) at nmount+0x75 syscall(e8a01d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (378, FreeBSD ELF32, nmount), eip = 0x280efaeb, esp = 0xbfbfeacc, ebp = 0xbfbfee18 --- lock order reversal: 1st 0xc5e4285c bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559 2nd 0xc680b600 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:285 KDB: stack backtrace: db_trace_self_wrapper(c0c9b289,e89dc694,c08d26e5,c08c339b,c0c9e192,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08c339b,c0c9e192,c612dfc8,c6131840,e89dc6f0,...) at kdb_backtrace+0x29 _witness_debugger(c0c9e192,c680b600,c0cbfe15,c6131840,c0cbfaae,...) at _witness_debugger+0x25 witness_checkorder(c680b600,9,c0cbfaae,11d,0,...) at witness_checkorder+0x839 _sx_xlock(c680b600,0,c0cbfaae,11d,dcc8cb18,...) at _sx_xlock+0x85 ufsdirhash_acquire(c7045cb0,dcc8cb18,e89dc7b8,c0ad8594,c6f9f244,...) at ufsdirhash_acquire+0x35 ufsdirhash_move(c6f9f244,dcc8cb18,b18,b10,e89dc7a8,...) at ufsdirhash_move+0xf ufs_direnter(c6f40990,c7047440,e89dc800,e89dcbd0,0,...) at ufs_direnter+0x5f4 ufs_makeinode(e89dcbd0,1,e89dcabc,e89dc948,c0bdee15,...) at ufs_makeinode+0x546 ufs_create(e89dcabc,c612b2b0,c61317d8,1,0,...) at ufs_create+0x30 VOP_CREATE_APV(c0da3d40,e89dcabc,e89dc9fc,c68fd7c3,e89dcabc,...) at VOP_CREATE_APV+0xa5 VOP_CREATE_AP(e89dcabc,3ef,e89dc980,c08d248b,e89dcac0,...) at VOP_CREATE_AP+0x1b null_bypass(e89dcabc,e89dcad4,0,0,e89dcba4,...) at null_bypass+0xb3 VOP_CREATE_APV(c68ff3c0,e89dcabc,e89dcbd0,e89dca54,0,...) at VOP_CREATE_APV+0xb3 vn_open_cred(e89dcba4,e89dcc5c,180,0,c6dbdb00,...) at vn_open_cred+0x215 vn_open(e89dcba4,e89dcc5c,180,c6eb4118,c0c98aa0,...) at vn_open+0x3b kern_openat(c69edd80,ffffff9c,bfbfe43b,0,a02,...) at kern_openat+0x11f kern_open(c69edd80,bfbfe43b,0,a01,180,...) at kern_open+0x35 open(c69edd80,e89dccf8,c,c0c9e9d7,c0d820ec,...) at open+0x30 syscall(e89dcd38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (5, FreeBSD ELF32, open), eip = 0x2829b473, esp = 0xbfbfe00c, ebp = 0xbfbfe8a8 --- kgdb(1) trace:. #kgdb kernel.debug-20100106 vmcore.0 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"... Unread portion of the kernel message buffer: itness_warn+0x1fd trap(e8878a2c) at trap+0x19e calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0b04452, esp = 0xe8878a6c, ebp = 0xe8878ac0 --- vm_reserv_alloc_page(c207c000,707b,0,37e,c207c000,...) at vm_reserv_alloc_page+0x102 vm_page_alloc(c207c000,707b,0,40,e8878c0c,...) at vm_page_alloc+0x25e vm_fault(c686fae0,30dff000,2,0,30dff004,...) at vm_fault+0x575 trap_pfault(5,0,c0cd219f,4,c6737000,...) at trap_pfault+0x10d trap(e8878d38) at trap+0x2d0 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0x2834ec95, esp = 0xbfbfe4d4, ebp = 0xbfbfe4e8 --- Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0xc445d070 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0b04452 stack pointer = 0x28:0xe8878a6c frame pointer = 0x28:0xe8878ac0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = 1455 (initial thread) lock order reversal: (Giant after non-sleepable) 1st 0xc0f6c300 vm page queue free mutex (vm page queue free mutex) @ /usr/src/sys/vm/vm_page.c:1052 2nd 0xc0df2f50 Giant (Giant) @ /usr/src/sys/dev/usb/input/ukbd.c:1594 KDB: stack backtrace: exclusive sleep mutex vm object (standard object) r = 0 (0xc9f1d110) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc71b0958) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5e75928) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xc9047388) locked @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1505 exclusive lockmgr ufs (ufs) r = 0 (0xca096388) locked @ /usr/src/sys/kern/vfs_lookup.c:497 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5dcbbd0) locked @ /usr/src/sys/kern/vfs_bio.c:1835 shared lockmgr ufs (ufs) r = 0 (0xcad59e28) locked @ /usr/src/sys/kern/vfs_vnops.c:536 exclusive sleep mutex vm object (standard object) r = 0 (0xca692110) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc6d02c10) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5e4f8e0) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xcaecc058) locked @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1505 exclusive lockmgr ufs (ufs) r = 0 (0xc6d586b8) locked @ /usr/src/sys/kern/vfs_subr.c:2091 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5ea03d0) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xc6c01278) locked @ /usr/src/sys/kern/vfs_vnops.c:607 exclusive sleep mutex process lock (process lock) r = 0 (0xc7565330) locked @ /usr/src/sys/kern/kern_sig.c:1189 exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc712a898) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148 exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc6e6d228) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148 exclusive sleep mutex vm object (standard object) r = 0 (0xc7723088) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc6b4a048) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) r = 0 (0xc0f6c300) locked @ /usr/src/sys/vm/vm_page.c:1052 exclusive sleep mutex vm object (standard object) r = 0 (0xc207c000) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc686fb28) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive sx 123456789ABCDEF - USB device SX lock (123456789ABCDEF - USB device SX lock) r = 0 (0xc6722428) locked @ /usr/src/sys/dev/usb/usb_request.c:322 exclusive sleep mutex vm object (standard object) r = 0 (0xc9f1d110) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc71b0958) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5e75928) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xc9047388) locked @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1505 exclusive lockmgr ufs (ufs) r = 0 (0xca096388) locked @ /usr/src/sys/kern/vfs_lookup.c:497 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5dcbbd0) locked @ /usr/src/sys/kern/vfs_bio.c:1835 shared lockmgr ufs (ufs) r = 0 (0xcad59e28) locked @ /usr/src/sys/kern/vfs_vnops.c:536 exclusive sleep mutex vm object (standard object) r = 0 (0xca692110) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc6d02c10) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5e4f8e0) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xcaecc058) locked @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1505 exclusive lockmgr ufs (ufs) r = 0 (0xc6d586b8) locked @ /usr/src/sys/kern/vfs_subr.c:2091 exclusive lockmgr bufwait (bufwait) r = 0 (0xc5ea03d0) locked @ /usr/src/sys/kern/vfs_bio.c:2559 exclusive lockmgr ufs (ufs) r = 0 (0xc6c01278) locked @ /usr/src/sys/kern/vfs_vnops.c:607 exclusive sleep mutex process lock (process lock) r = 0 (0xc7565330) locked @ /usr/src/sys/kern/kern_sig.c:1189 exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc712a898) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148 exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc6e6d228) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148 exclusive sleep mutex vm object (standard object) r = 0 (0xc7723088) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc6b4a048) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) r = 0 (0xc0f6c300) locked @ /usr/src/sys/vm/vm_page.c:1052 exclusive sleep mutex vm object (standard object) r = 0 (0xc207c000) locked @ /usr/src/sys/vm/vm_fault.c:269 shared sx user map (user map) r = 0 (0xc686fb28) locked @ /usr/src/sys/vm/vm_map.c:3532 exclusive sx 123456789ABCDEF - USB device SX lock (123456789ABCDEF - USB device SX lock) r = 0 (0xc6722428) locked @ /usr/src/sys/dev/usb/usb_request.c:322 panic: from debugger cpuid = 2 KDB: stack backtrace: Physical memory: 2005 MB Dumping 267 MB: 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12 Reading symbols from /boot/kernel/coretemp.ko...Reading symbols from /boot/kernel/coretemp.ko.symbols...done. done. Loaded symbols for /boot/kernel/coretemp.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/modules/vboxdrv.ko...done. Loaded symbols for /boot/modules/vboxdrv.ko Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /boot/kernel/nullfs.ko...Reading symbols from /boot/kernel/nullfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/nullfs.ko Reading symbols from /boot/modules/vboxnetflt.ko...done. Loaded symbols for /boot/modules/vboxnetflt.ko Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done. done. Loaded symbols for /boot/kernel/netgraph.ko Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from /boot/kernel/ng_ether.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_ether.ko Reading symbols from /boot/modules/vboxnetadp.ko...done. Loaded symbols for /boot/modules/vboxnetadp.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko #0 doadump () at pcpu.h:246 246 pcpu.h: No such file or directory. in pcpu.h (kgdb) (kgdb) bt #0 doadump () at pcpu.h:246 #1 0xc04d07a9 in db_fncall (dummy1=1596, dummy2=0, dummy3=-1060595728, dummy4=0xe8878840 "") at /usr/src/sys/ddb/db_command.c:548 #2 0xc04d0ba1 in db_command (last_cmdp=0xc0dc09fc, cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:445 #3 0xc04d0cfa in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 #4 0xc04d2b9d in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:229 #5 0xc08befe6 in kdb_trap (type=12, code=0, tf=0xe8878a2c) at /usr/src/sys/kern/subr_kdb.c:535 #6 0xc0bc641f in trap_fatal (frame=0xe8878a2c, eva=3292909680) at /usr/src/sys/i386/i386/trap.c:927 #7 0xc0bc6d0c in trap (frame=0xe8878a2c) at /usr/src/sys/i386/i386/trap.c:328 #8 0xc0ba8beb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #9 0xc0b04452 in vm_reserv_alloc_page (object=0xc207c000, pindex=28795) at /usr/src/sys/vm/vm_reserv.c:320 #10 0xc0afd98e in vm_page_alloc (object=0xc207c000, pindex=28795, req=64) at /usr/src/sys/vm/vm_page.c:1081 #11 0xc0aec0d5 in vm_fault (map=0xc686fae0, vaddr=819982336, fault_type=2 '\002', fault_flags=Variable "fault_flags" is not available. ) at /usr/src/sys/vm/vm_fault.c:399 #12 0xc0bc657d in trap_pfault (frame=0xe8878d38, usermode=1, eva=819982340) at /usr/src/sys/i386/i386/trap.c:828 #13 0xc0bc6e30 in trap (frame=0xe8878d38) at /usr/src/sys/i386/i386/trap.c:401 #14 0xc0ba8beb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #15 0x2834ec95 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) up 11 #11 0xc0aec0d5 in vm_fault (map=0xc686fae0, vaddr=819982336, fault_type=2 '\002', fault_flags=Variable "fault_flags" is not available. ) at /usr/src/sys/vm/vm_fault.c:399 399 fs.m = vm_page_alloc(fs.object, fs.pindex, (kgdb) I have kgdb(1) sitting at line #11 if you wish to instruct me to gather more output. -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 08:51:26 2010 Return-Path: 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 0B2261065693 for ; Thu, 7 Jan 2010 08:51:26 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id C1E1A8FC12 for ; Thu, 7 Jan 2010 08:51:25 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id AF4C83A581; Thu, 7 Jan 2010 09:51:24 +0100 (CET) Date: Thu, 7 Jan 2010 09:51:24 +0100 From: Lars Engels To: freebsd-current@freebsd.org Message-ID: <20100107085124.GM20889@e.0x20.net> Mail-Followup-To: Lars Engels , freebsd-current@freebsd.org References: <20100106223815.GE29437@citylink.fud.org.nz> <20100107062344.GN31217@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CgTrtGVSVGoxAIFj" Content-Disposition: inline In-Reply-To: <20100107062344.GN31217@stlux503.dsto.defence.gov.au> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: 3G wireless devices [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 08:51:26 -0000 --CgTrtGVSVGoxAIFj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 07, 2010 at 02:23:45PM +0800, Wilkinson, Alex wrote: >=20 > 0n Thu, Jan 07, 2010 at 11:38:15AM +1300, Andrew Thompson wrote:=20 >=20 > >I am looking for people who have 3G cellular wireless devices which = do > >not eject from Disk mode (provides daX or cdX drive with Win/Mac dri= ver) > >into Modem mode. Please ensure you are running an up to date kernel = =66rom > >head r201681 or later. >=20 > Hi Andrew, >=20 > I can test a Sierra card (soon-ish). However, in the meantime can you ple= ase elaborate > on what exactly is meant by: "eject from Disk mode (provides daX or cdX d= rive > with Win/Mac driver) into Modem mode." Those modern 3G devices present themselves as CD-ROM devices when you insert them. Very useful when using Windows, so you can install the drivers before using the device. However, FreeBSD doesn't need the virtual CD, so it has to skip to the point where the device is attached as a USB modem. So Andrew likes to know which cards stay in the virtual CD mode. --=20 Lars --CgTrtGVSVGoxAIFj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAktFoIwACgkQKc512sD3afgt4ACgpB60rm9AQMe6WAo8yr2C0OjR 57MAoMcIln6pLk5EyLgdbITaYYcpVS84 =lZkD -----END PGP SIGNATURE----- --CgTrtGVSVGoxAIFj-- From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 11:26:17 2010 Return-Path: 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 D0375106566C for ; Thu, 7 Jan 2010 11:26:17 +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 B1B2F8FC13 for ; Thu, 7 Jan 2010 11:26:17 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NSqVN-0007ZG-1F for freebsd-current@freebsd.org; Thu, 07 Jan 2010 03:26:17 -0800 Message-ID: <27058016.post@talk.nabble.com> Date: Thu, 7 Jan 2010 03:26:17 -0800 (PST) From: Jakub Lach To: freebsd-current@freebsd.org In-Reply-To: <20091013141144.GA54420@crete.org.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jakub_lach@mailplus.pl References: <20091004090156.GA85409@crete.org.ua> <20091008123001.GA82997@nagual.pp.ru> <20091012131901.6421666b@baby-jane.lamaiziere.net> <20091013141144.GA54420@crete.org.ua> Subject: Re: 'ee' editor prints cyrillic characters on white background X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 11:26:17 -0000 Bugzilla from minotaur@crete.org.ua wrote: > > On Mon, Oct 12, 2009 at 01:19:01PM +0200, Patrick Lamaiziere wrote: >> Le Thu, 8 Oct 2009 16:30:01 +0400, >> Andrey Chernov a ?crit : >> >> > > I've upgraded my 7.2-RELEASE to 8.0-RC1. ee editor began to >> > > highlight cyrillic characters (locale uk_UA.KOI8-U) with white >> > > background and underscoring. Does anyone know how to disable this? >> > > Thanks. >> > >> > Fixed in -current. >> >> It would be nice to have this fixed in 8.0 too :-) >> Is it planned? > > It will be great if these changes be committed in 8-STABLE. > But while they are only in -current you can easily edit sources by hands, > look at > http://svn.freebsd.org/viewvc/base/head/contrib/ee/ee.c?r1=196750&r2=196749&pathrev=196750 > Just edit proper lines (with waddch) in your sources. I fixed it in my > sources. > > Andrey, thanks a lot! > > -- > MINO-RIPE > _______________________________________________ > 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" > > Hello. Are there any special reasons for lack of MFC? -best regards, Jakub Lach -- View this message in context: http://old.nabble.com/%27ee%27-editor-prints-cyrillic-characters-on-white-background-tp25750513p27058016.html Sent from the freebsd-current mailing list archive at Nabble.com. From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 11:45:30 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4B561065672 for ; Thu, 7 Jan 2010 11:45:30 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 610478FC0C for ; Thu, 7 Jan 2010 11:45:29 +0000 (UTC) Received: from localhost by koef.zs64.net (8.14.4/8.14.4) with ESMTP id o07BjRub001081 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 7 Jan 2010 12:45:28 +0100 (CET) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: <0DD58CCF-08C7-4809-BDF1-902C71500761@lassitu.de> From: Stefan Bethke To: Andrew Thompson In-Reply-To: <20100106223815.GE29437@citylink.fud.org.nz> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 7 Jan 2010 12:45:27 +0100 References: <20100106223815.GE29437@citylink.fud.org.nz> X-Mailer: Apple Mail (2.936) Cc: current@freebsd.org Subject: Re: 3G wireless devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 11:45:30 -0000 Am 06.01.2010 um 23:38 schrieb Andrew Thompson: > Hi, > > > I am looking for people who have 3G cellular wireless devices which do > not eject from Disk mode (provides daX or cdX drive with Win/Mac > driver) > into Modem mode. Please ensure you are running an up to date kernel > from > head r201681 or later. > > Novatel and Sierra devices should all work, any reports on Stelera, > Option, Cmotech, Qualcomm, etc would be great. > My Huawei (E220?) O2 Germany branded stick has only a single configuration, with one umass and three serial ports, so no configuration switching is necessary. # usbconfig -u 0 -a 2 dump_device_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x1001 bcdDevice = 0x0000 iManufacturer = 0x0001 <> iProduct = 0x0002 iSerialNumber = 0x0001 <> bNumConfigurations = 0x0001 # usbconfig -u 0 -a 2 dump_all_config_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x006c bNumInterfaces = 0x0004 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0003 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0010 bInterval = 0x0080 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0003 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0003 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0003 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0005 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 3 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0003 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0004 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 -- Stefan Bethke Fon +49 151 14070811 From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 13:23:35 2010 Return-Path: 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 5BE05106566B; Thu, 7 Jan 2010 13:23:35 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id AF79E8FC13; Thu, 7 Jan 2010 13:23:34 +0000 (UTC) Received: by ewy26 with SMTP id 26so16626967ewy.3 for ; Thu, 07 Jan 2010 05:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=YnhplPAgSC/h4nlZN+/gq9cgwTNvg7ZqUBXYjIUEykc=; b=Z2Smbs8hG6jLTF1WMyGjU3G8G44BvYecA7wMX2sROolwPZXnQ6hmrJ/601p/kTCkUj Eu+EnTmRgK+wpbOPuLuhZtpHX53MohBbrizztmJTbs/flxwYU/mUlyLNApAVqrWuA5ws NDglUkAUkPuqA4qI8uErPWFoZRuXdb9US6rm0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=nZqDWut2OhgD+zJNLHMGn2w/jDr4Mw0ryWZgkIaJDJ5S8NiIpRB6LDjLOvBgkR9180 o1kW5SyDKQV/Di0HCP/XhN1hR8wmS2wgDgZ4cjmxttToxJytjtiGesdvdP5n11q7Sm+Z 27rh1t+5bc/u0nyvmn+K0Dl8dWAdPP2nswlbU= MIME-Version: 1.0 Received: by 10.216.87.7 with SMTP id x7mr1955461wee.53.1262870611532; Thu, 07 Jan 2010 05:23:31 -0800 (PST) In-Reply-To: <201001061910.10257.hselasky@c2i.net> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> <201001061910.10257.hselasky@c2i.net> From: Renato Botelho Date: Thu, 7 Jan 2010 11:23:11 -0200 Message-ID: <747dc8f31001070523t270d2145ue26ee79e6c252f36@mail.gmail.com> To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 13:23:35 -0000 On Wed, Jan 6, 2010 at 4:10 PM, Hans Petter Selasky wrote: > On Wednesday 06 January 2010 15:55:56 Renato Botelho wrote: >> Renato Botelho >> > > Hi, > > Please try the following patch: It worked for Keyboard: ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON But didn' t for the HUB: ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE Thank you -- Renato Botelho From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 15:28:53 2010 Return-Path: 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 176A71065679 for ; Thu, 7 Jan 2010 15:28:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id DAAB88FC1B for ; Thu, 7 Jan 2010 15:28:52 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 86CC746B46; Thu, 7 Jan 2010 10:28:52 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 1C44F8A01D; Thu, 7 Jan 2010 10:28:40 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 7 Jan 2010 09:35:52 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <20100106024434.GA29741@stlux503.dsto.defence.gov.au> <20100107083940.GA38229@stlux503.dsto.defence.gov.au> In-Reply-To: <20100107083940.GA38229@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001070935.52783.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 07 Jan 2010 10:28:40 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: "Wilkinson, Alex" Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 15:28:53 -0000 On Thursday 07 January 2010 3:39:40 am Wilkinson, Alex wrote: > > 0n Wed, Jan 06, 2010 at 10:44:34AM +0800, Wilkinson, Alex wrote: > > > 0n Tue, Jan 05, 2010 at 08:28:49AM -0500, John Baldwin wrote: > > > > >Are you able to get a crashdump and examine it with kgdb? > > > >rebuilt world+kernel and overwrote kernel.debug :( > >when it happens again I will get a bt from kgdb(1). > > OK, from: FreeBSD 9.0-CURRENT #3 r201546: Tue Jan 5 15:51:52 WST 2010 > > (kgdb) bt > #0 doadump () at pcpu.h:246 > #1 0xc04d07a9 in db_fncall (dummy1=1596, dummy2=0, dummy3=-1060595728, dummy4=0xe8878840 "") at /usr/src/sys/ddb/db_command.c:548 > #2 0xc04d0ba1 in db_command (last_cmdp=0xc0dc09fc, cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:445 > #3 0xc04d0cfa in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 > #4 0xc04d2b9d in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:229 > #5 0xc08befe6 in kdb_trap (type=12, code=0, tf=0xe8878a2c) at /usr/src/sys/kern/subr_kdb.c:535 > #6 0xc0bc641f in trap_fatal (frame=0xe8878a2c, eva=3292909680) at /usr/src/sys/i386/i386/trap.c:927 > #7 0xc0bc6d0c in trap (frame=0xe8878a2c) at /usr/src/sys/i386/i386/trap.c:328 > #8 0xc0ba8beb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 > #9 0xc0b04452 in vm_reserv_alloc_page (object=0xc207c000, pindex=28795) at /usr/src/sys/vm/vm_reserv.c:320 > #10 0xc0afd98e in vm_page_alloc (object=0xc207c000, pindex=28795, req=64) at /usr/src/sys/vm/vm_page.c:1081 > #11 0xc0aec0d5 in vm_fault (map=0xc686fae0, vaddr=819982336, fault_type=2 '\002', fault_flags=Variable "fault_flags" is not available. > ) at /usr/src/sys/vm/vm_fault.c:399 > #12 0xc0bc657d in trap_pfault (frame=0xe8878d38, usermode=1, eva=819982340) at /usr/src/sys/i386/i386/trap.c:828 > #13 0xc0bc6e30 in trap (frame=0xe8878d38) at /usr/src/sys/i386/i386/trap.c:401 > #14 0xc0ba8beb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 > #15 0x2834ec95 in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) up 11 > #11 0xc0aec0d5 in vm_fault (map=0xc686fae0, vaddr=819982336, fault_type=2 '\002', fault_flags=Variable "fault_flags" is not available. > ) at /usr/src/sys/vm/vm_fault.c:399 > 399 fs.m = vm_page_alloc(fs.object, fs.pindex, > (kgdb) Can you go to frame 9 and do 'p rv', 'p mpred', and 'p *mpred'? Can you also do 'p vm_reserv_array' -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 19:14:34 2010 Return-Path: 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 06F46106568B for ; Thu, 7 Jan 2010 19:14:34 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8DBA28FC1D for ; Thu, 7 Jan 2010 19:14:33 +0000 (UTC) Received: by ewy26 with SMTP id 26so16994277ewy.3 for ; Thu, 07 Jan 2010 11:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=GL7mL6uyzVPANI7ez0LCeXVxzD825hycjqQKj7QYUQk=; b=JUfPa4m9L45/kTKZbqwmgOxRFXIfIuZV3ZywKAHXR7OZYnUidFq3/0v67vv+FzBODb 4eRO3M66N0ybnhOuJ7VOi+SXhs11WR3d5sVPTt/YFOCrrfN2pLMoCmFQznA1IpxmUcGS OsGI2v9yZeEOpJM16ZMi+XcFMvKjMzfcN/lbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ltzAkvg4LFvUtJkyVq3km4ghukhI3zadUNPqGurwC5EZHy5GvzCvRi9GV9w7j1SeWf lyqUDhoMDcKtF2ySflOl2XwI5/3KxNWfDRq8o9j5xy8kkCLEkyibcJR8dPBESTY8WPtF DXgKxKHCbP2NjgDGI40VeiN00iRxuQSl/pCb8= MIME-Version: 1.0 Received: by 10.213.24.9 with SMTP id t9mr601283ebb.92.1262891669054; Thu, 07 Jan 2010 11:14:29 -0800 (PST) In-Reply-To: <3a142e751001051451j510d8339o19146703a150ed12@mail.gmail.com> References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001051451j510d8339o19146703a150ed12@mail.gmail.com> Date: Thu, 7 Jan 2010 20:14:27 +0100 Message-ID: <3a142e751001071114i572637c2i4fc506c338736074@mail.gmail.com> From: Paul B Mahol To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 19:14:34 -0000 On 1/5/10, Paul B Mahol wrote: > On 1/4/10, Eugene Dzhurinsky wrote: >> On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote: >>> On 1/3/10, Eugene Dzhurinsky wrote: >>> > On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote: >>> >> On 12/25/09, Eugene Dzhurinsky wrote: >>> >> > On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote: >>> >> >> Have you tried using if_ndis? >>> >> > The kernel module I've created just hangs once loaded :( >>> >> This is on amd64? >>> > >>> > No, i386 >>> >>> Is anything displayed on console? Are you sure you are using >>> 5.1 driveres (for XP) and not newer ones? >> >> I am using xp3264-7.7.0.329-whql.zip file from Atheros. >> >> When trying to convert the ones athwx.sys and netathwx.inf I am getting >> the >> error: > > That files are for amd64. And NDISulator from git should no more panic if user used wrong files with ndisgen(8) -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 19:41:00 2010 Return-Path: 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 8737E106568D for ; Thu, 7 Jan 2010 19:41:00 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id EF4648FC21 for ; Thu, 7 Jan 2010 19:40:59 +0000 (UTC) Received: by ewy26 with SMTP id 26so17021604ewy.3 for ; Thu, 07 Jan 2010 11:40:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.41.211 with SMTP id p19mr1450856ebe.53.1262893254667; Thu, 07 Jan 2010 11:40:54 -0800 (PST) In-Reply-To: <747dc8f31001070523t270d2145ue26ee79e6c252f36@mail.gmail.com> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061358.16919.hselasky@c2i.net> <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> <201001061910.10257.hselasky@c2i.net> <747dc8f31001070523t270d2145ue26ee79e6c252f36@mail.gmail.com> Date: Thu, 7 Jan 2010 20:40:54 +0100 Message-ID: <367b2c981001071140w10b04ae7ie1f4af3a1ead75d8@mail.gmail.com> From: Olivier Smedts To: Renato Botelho Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Andrew Thompson , Hans Petter Selasky Subject: Re: USB stop to identify sun keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 19:41:00 -0000 2010/1/7 Renato Botelho : > On Wed, Jan 6, 2010 at 4:10 PM, Hans Petter Selasky wrote: >> On Wednesday 06 January 2010 15:55:56 Renato Botelho wrote: >>> Renato Botelho >>> >> >> Hi, >> >> Please try the following patch: > > It worked for Keyboard: > > ugen0.4: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON And for my too ! > > But didn' t for the HUB: > > ugen0.2: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=SAVE > > Thank you > -- > Renato Botelho > _______________________________________________ > 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" > -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 05:28:44 2010 Return-Path: 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 2F5AB106566B for ; Fri, 8 Jan 2010 05:28:44 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id AE02B8FC08 for ; Fri, 8 Jan 2010 05:28:43 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o085QDgP021827 for ; Fri, 8 Jan 2010 15:56:13 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Fri, 8 Jan 2010 15:58:41 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Jan 2010 15:58:41 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Jan 2010 14:28:39 +0900 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o085UbrH047317 for ; Fri, 8 Jan 2010 13:30:37 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o085Ubgh047316 for freebsd-current@freebsd.org; Fri, 8 Jan 2010 13:30:37 +0800 (WST) (envelope-from wilkinsa) Date: Fri, 8 Jan 2010 13:30:37 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100108053037.GC47070@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org References: <20100106223815.GE29437@citylink.fud.org.nz> <20100107062344.GN31217@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100107062344.GN31217@stlux503.dsto.defence.gov.au> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 08 Jan 2010 05:28:39.0180 (UTC) FILETIME=[6EDE54C0:01CA9023] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17118.004 X-TM-AS-Result: No--9.136100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Subject: Re: 3G wireless devices [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 05:28:44 -0000 0n Thu, Jan 07, 2010 at 02:23:45PM +0800, Wilkinson, Alex wrote: > > 0n Thu, Jan 07, 2010 at 11:38:15AM +1300, Andrew Thompson wrote: > > >I am looking for people who have 3G cellular wireless devices which do > >not eject from Disk mode (provides daX or cdX drive with Win/Mac driver) > >into Modem mode. Please ensure you are running an up to date kernel from > >head r201681 or later. OK, my Sierra PCIe card (in a PCMCIA adapter) outputs the following upon insertion: ohci0: mem 0x88000000-0x88000fff irq 10 at device 0.0 on cardbus1 ohci0: [ITHREAD] interrupt storm detected on "irq10:"; throttling interrupt source usbus4: on ohci0 usbus4: 12Mbps Full Speed USB v1.0 ehci1: mem 0x88001000-0x880010ff irq 10 at device 0.1 on cardbus1 ehci1: [ITHREAD] usbus5: EHCI version 1.0 ugen4.1: at usbus4 uhub4: on usbus4 usbus5: on ehci1 usbus5: 480Mbps High Speed USB v2.0 ugen5.1: at usbus5 uhub5: on usbus5 uhub4: 3 ports with 3 removable, self powered ehci_interrupt: unrecoverable error, controller halted cmd=0x00010030 EHCI_CMD_ITC_1 EHCI_CMD_ASE EHCI_CMD_PSE sts=0x0000f010 EHCI_STS_ASS EHCI_STS_PSS EHCI_STS_REC EHCI_STS_HCH EHCI_STS_HSE ien=0x00000037 frindex=0x0000129b ctrdsegm=0x00000000 periodic=0x1b30d000 async=0xffffffe0 port 1 status=0x00001000 port 2 status=0x00000000 port 3 status=0x00000000 ehci_dump_isoc: isochronous dump from frame 0x053: ITD(0xc3da1700) at 0x0d1a1700 next=0x0d1a7c04 status[0]=0x00000000; <> status[1]=0x00000000; <> status[2]=0x00000000; <> status[3]=0x00000000; <> status[4]=0x00000000; <> status[5]=0x00000000; <> status[6]=0x00000000; <> status[7]=0x00000000; <> bp[0]=0x00000000 addr=0x00; endpt=0x0 bp[1]=0x00000000 dir=out; mpl=0x00 bp[2..6]=0x00000000,0x00000000,0x00000000,0x00000000,0x00000000 bp_hi=0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000 SITD(0xc3da7c00) at 0x0d1a7c00 next=0x0d198e02 portaddr=0x00000000 dir=out addr=0 endpt=0x0 port=0x0 huba=0x0 mask=0x00000000 status=0x00000000 <> len=0x0 back=0x00000001, bp=0x00000000,0x00000000,0x00000000,0x00000000 ehci_interrupt: blocking interrupts 0x10 interrupt storm detected on "irq10:"; throttling interrupt source uhub5: 3 ports with 3 removable, self powered interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored) interrupt storm detected on "irq10:"; throttling interrupt source usb_alloc_device: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored) interrupt storm detected on "irq10:"; throttling interrupt source usbd_req_re_enumerate: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored) interrupt storm detected on "irq10:"; throttling interrupt source usbd_req_re_enumerate: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT ugen4.2: <(null)> at usbus4 (disconnected) uhub_reattach_port: could not allocate new device interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 05:56:29 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18EE1106568F; Fri, 8 Jan 2010 05:56:29 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id B87658FC13; Fri, 8 Jan 2010 05:56:28 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o085uSP0052224; Fri, 8 Jan 2010 00:56:28 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o085uSZX052207; Fri, 8 Jan 2010 05:56:28 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 8 Jan 2010 05:56:28 GMT Message-Id: <201001080556.o085uSZX052207@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 05:56:29 -0000 TB --- 2010-01-08 04:05:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-08 04:05:00 - starting HEAD tinderbox run for i386/i386 TB --- 2010-01-08 04:05:00 - cleaning the object tree TB --- 2010-01-08 04:05:24 - cvsupping the source tree TB --- 2010-01-08 04:05:24 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2010-01-08 04:05:47 - building world TB --- 2010-01-08 04:05:47 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 04:05:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 04:05:47 - TARGET=i386 TB --- 2010-01-08 04:05:47 - TARGET_ARCH=i386 TB --- 2010-01-08 04:05:47 - TZ=UTC TB --- 2010-01-08 04:05:47 - __MAKE_CONF=/dev/null TB --- 2010-01-08 04:05:47 - cd /src TB --- 2010-01-08 04:05:47 - /usr/bin/make -B buildworld >>> World build started on Fri Jan 8 04:05:48 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri Jan 8 05:05:10 UTC 2010 TB --- 2010-01-08 05:05:10 - generating LINT kernel config TB --- 2010-01-08 05:05:10 - cd /src/sys/i386/conf TB --- 2010-01-08 05:05:10 - /usr/bin/make -B LINT TB --- 2010-01-08 05:05:10 - building LINT kernel TB --- 2010-01-08 05:05:10 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 05:05:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 05:05:10 - TARGET=i386 TB --- 2010-01-08 05:05:10 - TARGET_ARCH=i386 TB --- 2010-01-08 05:05:10 - TZ=UTC TB --- 2010-01-08 05:05:10 - __MAKE_CONF=/dev/null TB --- 2010-01-08 05:05:10 - cd /src TB --- 2010-01-08 05:05:10 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jan 8 05:05:10 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Fri Jan 8 05:29:35 UTC 2010 TB --- 2010-01-08 05:29:35 - building GENERIC kernel TB --- 2010-01-08 05:29:35 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 05:29:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 05:29:35 - TARGET=i386 TB --- 2010-01-08 05:29:35 - TARGET_ARCH=i386 TB --- 2010-01-08 05:29:35 - TZ=UTC TB --- 2010-01-08 05:29:35 - __MAKE_CONF=/dev/null TB --- 2010-01-08 05:29:35 - cd /src TB --- 2010-01-08 05:29:35 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jan 8 05:29:35 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GENERIC completed on Fri Jan 8 05:49:08 UTC 2010 TB --- 2010-01-08 05:49:08 - building PAE kernel TB --- 2010-01-08 05:49:08 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 05:49:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 05:49:08 - TARGET=i386 TB --- 2010-01-08 05:49:08 - TARGET_ARCH=i386 TB --- 2010-01-08 05:49:08 - TZ=UTC TB --- 2010-01-08 05:49:08 - __MAKE_CONF=/dev/null TB --- 2010-01-08 05:49:08 - cd /src TB --- 2010-01-08 05:49:08 - /usr/bin/make -B buildkernel KERNCONF=PAE >>> Kernel build for PAE started on Fri Jan 8 05:49:08 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for PAE completed on Fri Jan 8 05:54:03 UTC 2010 TB --- 2010-01-08 05:54:03 - building XEN kernel TB --- 2010-01-08 05:54:03 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 05:54:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 05:54:03 - TARGET=i386 TB --- 2010-01-08 05:54:03 - TARGET_ARCH=i386 TB --- 2010-01-08 05:54:03 - TZ=UTC TB --- 2010-01-08 05:54:03 - __MAKE_CONF=/dev/null TB --- 2010-01-08 05:54:03 - cd /src TB --- 2010-01-08 05:54:03 - /usr/bin/make -B buildkernel KERNCONF=XEN >>> Kernel build for XEN started on Fri Jan 8 05:54:04 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/xen/mp_machdep.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/xen/mptable.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/i386/mptable_pci.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/i386/msi.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/i386/nexus.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/xen/pmap.c cc1: warnings being treated as errors /src/sys/i386/xen/pmap.c:558: warning: 'pmap_set_pg' defined but not used *** Error code 1 Stop in /obj/i386/src/sys/XEN. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-08 05:56:27 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-08 05:56:27 - ERROR: failed to build XEN kernel TB --- 2010-01-08 05:56:27 - 5120.53 user 983.29 system 6687.28 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 06:17:56 2010 Return-Path: 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 285401065670 for ; Fri, 8 Jan 2010 06:17:56 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7CE7B8FC08 for ; Fri, 8 Jan 2010 06:17:55 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o086FPE3000817 for ; Fri, 8 Jan 2010 16:45:25 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Fri, 8 Jan 2010 16:47:54 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Jan 2010 16:47:53 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Jan 2010 15:17:52 +0900 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o086JptM047516 for ; Fri, 8 Jan 2010 14:19:51 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o086Jp7u047515 for freebsd-current@freebsd.org; Fri, 8 Jan 2010 14:19:51 +0800 (WST) (envelope-from wilkinsa) Date: Fri, 8 Jan 2010 14:19:51 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20100108061951.GA47507@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <20100106024434.GA29741@stlux503.dsto.defence.gov.au> <20100107083940.GA38229@stlux503.dsto.defence.gov.au> <201001070935.52783.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201001070935.52783.jhb@freebsd.org> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 08 Jan 2010 06:17:53.0055 (UTC) FILETIME=[4F83E2F0:01CA902A] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17118.004 X-TM-AS-Result: No--4.481200-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 06:17:56 -0000 0n Thu, Jan 07, 2010 at 09:35:52AM -0500, John Baldwin wrote: >Can you go to frame 9 and do 'p rv', 'p mpred', and 'p *mpred'? Can you also do 'p vm_reserv_array' (kgdb) up 9 #9 0xc0b04452 in vm_reserv_alloc_page (object=0xc207c000, pindex=28795) at /usr/src/sys/vm/vm_reserv.c:320 320 if (rv->object == object && vm_reserv_has_pindex(rv, pindex)) { (kgdb) p rv $1 = 0xc445d060 (kgdb) p *mpred $2 = {pageq = {tqe_next = 0xc75bb360, tqe_prev = 0xc75bb000}, listq = {tqe_next = 0xc75bb360, tqe_prev = 0xc8595170}, left = 0xc7612a20, right = 0xcb721d80, object = 0xc207c000, pindex = 28989, phys_addr = 3876835328, md = {pv_list = {tqh_first = 0x0, tqh_last = 0x0}, pat_mode = 1}, queue = 0 '\0', segind = 0 '\0', flags = 152, order = 0 '\0', pool = 0 '\0', cow = 0, wire_count = 1, hold_count = 0, oflags = 0, act_count = 0 '\0', busy = 0 '\0', valid = 255 'ÿ', dirty = 255 'ÿ'} (kgdb) p vm_reserv_array $3 = 0xc4454000 (kgdb) -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 09:45:09 2010 Return-Path: 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 8F8701065679 for ; Fri, 8 Jan 2010 09:45:09 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 489D38FC16 for ; Fri, 8 Jan 2010 09:45:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NTBOy-0001gD-FG for freebsd-current@freebsd.org; Fri, 08 Jan 2010 10:45:04 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2010 10:45:04 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2010 10:45:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: martinko Date: Fri, 08 Jan 2010 10:43:15 +0100 Lines: 25 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20100102 SeaMonkey/2.0.1 Sender: news Cc: freebsd-stable@freebsd.org Subject: driver bug: Unable to set devclass (devname: (null)) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 09:45:09 -0000 Hi, This is 8.0-RELEASE-p2 and I see the following during boot: Jan 8 09:38:46 mb-aw1n-bsd kernel: Timecounter "TSC" frequency 1993542975 Hz quality 800 Jan 8 09:38:46 mb-aw1n-bsd kernel: Timecounters tick every 1.000 msec Jan 8 09:38:46 mb-aw1n-bsd kernel: firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) Jan 8 09:38:46 mb-aw1n-bsd kernel: firewire0: bus manager 0 Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus0: 12Mbps Full Speed USB v1.0 Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus1: 12Mbps Full Speed USB v1.0 Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus2: 12Mbps Full Speed USB v1.0 Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus3: 480Mbps High Speed USB v2.0 Jan 8 09:38:46 mb-aw1n-bsd kernel: driver bug: Unable to set devclass (devname: (null)) ^^^^^^^^^^-- ??? Jan 8 09:38:46 mb-aw1n-bsd kernel: ad0: 76319MB at ata0-master UDMA100 I'm not sure which driver spits it out -- perhaps new USB stack ? Regards, Martin From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 09:52:48 2010 Return-Path: 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 7C119106566B; Fri, 8 Jan 2010 09:52:48 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id D9D7E8FC19; Fri, 8 Jan 2010 09:52:47 +0000 (UTC) Received: by bwz5 with SMTP id 5so12256016bwz.3 for ; Fri, 08 Jan 2010 01:52:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6vGM4KmTL0OOPgid/MX+r1F3j2CwBdzBXIXV18+DzxM=; b=ni89x9SfvehBydMjQyhRTuspdmvMnaQhu8wBkvHGjC3t5ZyIE2hkK5evfb776G5G9d ga2OsReWs4o6MkjRVAl+Lw7Ut/SKReebJ82Nb4sU7H+1iun0aohesGSp5ALf3InfXIRg /OeZLXw4s09oTrJ8YwyXr8RG+rPB5tQ+KIk0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ROMX7bJycYYA9bgCUBomAc87pz8cehiZYlezmHRWvNWwHvDq9qIN0P8CMwHvlo3fIs GUaJIVqJwNlZcMDlRCXbbtTRSnIj/Y+53ov9wud92Z9318Vr26td70+blqWp9LGHwh0E bi5TYfaA35Fcp4SeZt5BUNArta6aiuWXaEhfM= MIME-Version: 1.0 Received: by 10.204.8.151 with SMTP id h23mr1043712bkh.194.1262944361714; Fri, 08 Jan 2010 01:52:41 -0800 (PST) In-Reply-To: References: Date: Fri, 8 Jan 2010 12:52:41 +0300 Message-ID: From: pluknet To: martinko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: driver bug: Unable to set devclass (devname: (null)) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 09:52:48 -0000 2010/1/8 martinko : > Hi, > > This is 8.0-RELEASE-p2 and I see the following during boot: > > Jan =A08 09:38:46 mb-aw1n-bsd kernel: Timecounter "TSC" frequency 1993542= 975 > Hz quality 800 > Jan =A08 09:38:46 mb-aw1n-bsd kernel: Timecounters tick every 1.000 msec > Jan =A08 09:38:46 mb-aw1n-bsd kernel: firewire0: 1 nodes, maxhop <=3D 0 c= able > IRM irm(0) =A0(me) > Jan =A08 09:38:46 mb-aw1n-bsd kernel: firewire0: bus manager 0 > Jan =A08 09:38:46 mb-aw1n-bsd kernel: usbus0: 12Mbps Full Speed USB v1.0 > Jan =A08 09:38:46 mb-aw1n-bsd kernel: usbus1: 12Mbps Full Speed USB v1.0 > Jan =A08 09:38:46 mb-aw1n-bsd kernel: usbus2: 12Mbps Full Speed USB v1.0 > Jan =A08 09:38:46 mb-aw1n-bsd kernel: usbus3: 480Mbps High Speed USB v2.0 > Jan =A08 09:38:46 mb-aw1n-bsd kernel: driver bug: Unable to set devclass > (devname: (null)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^^= ^^^^^^^^-- ??? > Jan =A08 09:38:46 mb-aw1n-bsd kernel: ad0: 76319MB > at ata0-master UDMA100 > > I'm not sure which driver spits it out -- perhaps new USB stack ? > There was a thread which might be helpful to identify a buggy driver: http://lists.freebsd.org/pipermail/freebsd-current/2009-March/004272.html --=20 wbr, pluknet From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 13:47:18 2010 Return-Path: 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 5DC571065676 for ; Fri, 8 Jan 2010 13:47:18 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC298FC17 for ; Fri, 8 Jan 2010 13:47:18 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id D3F3646B09; Fri, 8 Jan 2010 08:47:17 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id DFF5C8A025; Fri, 8 Jan 2010 08:47:16 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 8 Jan 2010 08:26:05 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <201001070935.52783.jhb@freebsd.org> <20100108061951.GA47507@stlux503.dsto.defence.gov.au> In-Reply-To: <20100108061951.GA47507@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201001080826.05461.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 08 Jan 2010 08:47:17 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: "Wilkinson, Alex" Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 13:47:18 -0000 On Friday 08 January 2010 1:19:51 am Wilkinson, Alex wrote: >=20 > 0n Thu, Jan 07, 2010 at 09:35:52AM -0500, John Baldwin wrote:=20 >=20 > >Can you go to frame 9 and do 'p rv', 'p mpred', and 'p *mpred'? Can= =20 you also do 'p vm_reserv_array' >=20 > (kgdb) up 9 > #9 0xc0b04452 in vm_reserv_alloc_page (object=3D0xc207c000, pindex=3D287= 95) at=20 /usr/src/sys/vm/vm_reserv.c:320 > 320 if (rv->object =3D=3D object && vm_reserv_has_pindex(rv, pindex)) { > (kgdb) p rv > $1 =3D 0xc445d060 > (kgdb) p *mpred > $2 =3D {pageq =3D {tqe_next =3D 0xc75bb360, tqe_prev =3D 0xc75bb000}, lis= tq =3D=20 {tqe_next =3D 0xc75bb360, tqe_prev =3D 0xc8595170}, left =3D 0xc7612a20, ri= ght =3D=20 0xcb721d80, object =3D 0xc207c000,=20 > pindex =3D 28989, phys_addr =3D 3876835328, md =3D {pv_list =3D {tqh_fi= rst =3D 0x0,=20 tqh_last =3D 0x0}, pat_mode =3D 1}, queue =3D 0 '\0', segind =3D 0 '\0', fl= ags =3D 152,=20 order =3D 0 '\0', pool =3D 0 '\0',=20 > cow =3D 0, wire_count =3D 1, hold_count =3D 0, oflags =3D 0, act_count = =3D 0 '\0',=20 busy =3D 0 '\0', valid =3D 255 '=FF', dirty =3D 255 '=FF'} > (kgdb) p vm_reserv_array > $3 =3D 0xc4454000 > (kgdb)=20 Can you add a printf to vm_reserv_startup() to print out the size it=20 calculates and then boot a kernel with that and reply with the size it=20 computes? =2D-=20 John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 15:33:09 2010 Return-Path: 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 131481065695; Fri, 8 Jan 2010 15:33:09 +0000 (UTC) (envelope-from rwatson@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id D8CA68FC1A; Fri, 8 Jan 2010 15:33:08 +0000 (UTC) Received: from lemongrass.sec.cl.cam.ac.uk (lemongrass.sec.cl.cam.ac.uk [128.232.18.47]) by cyrus.watson.org (Postfix) with ESMTPSA id 0341A46B09; Fri, 8 Jan 2010 10:33:07 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 From: "Robert N. M. Watson" In-Reply-To: Date: Fri, 8 Jan 2010 15:33:06 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <3BC13C71-348A-49AD-94BA-FC28EB0648DE@freebsd.org> References: <20091129013026.GA1355@michelle.cdnetworks.com> <74BFE523-4BB3-4748-98BA-71FBD9829CD5@anduin.net> <34AD565D-814A-446A-B9CA-AC16DD762E1B@anduin.net> <1DFC4992-E136-4674-BC0E-A6B1DAE12AF4@anduin.net> To: =?iso-8859-1?Q?Eirik_=D8verby?= X-Mailer: Apple Mail (2.1077) Cc: pyunyh@gmail.com, weldon@excelsusphoto.com, freebsd-current@freebsd.org, Gavin Atkinson Subject: Re: FreeBSD 8.0 - network stack crashes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 15:33:09 -0000 On 30 Nov 2009, at 19:13, Eirik =D8verby wrote: > I meant NFS-UDP ... However I was wrong even there; Using NFS over UDP = from FreeBSD boxes does not cause the same issue. So OpenBSD seems to be = a special case here. >=20 > I'm no Wireshark expert (to be fair, I've seen it a few times and = tried it once or twice, and that's so long ago it's almost no longer = true), so I'd need some input on how to gather useful data. I assume = tcpdump, which options? And would it be OK if I made the dump available = for download somewhere, so you or someone else can take a look with = whichever tools you'd like? Aii. Over a month zips past in the blink of an eye. Are you still experiencing this problem? I can certainly look at a = wireshark trace, but make no promises. If you do do a trace, then what = we should do is have you do run a script that dumps a bunch of relevant = stats with nfsstat, netstat, vmstat, etc, before the trace starts, grabs = exactly ${someval} seconds of trace data, then dumps all the same stats = afterwards. Then we can use the stats to work out about how many leaked = packets (or whatever) were present, and try to correlate it to a count = of some type of event in the trace. Robert= From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 15:46:29 2010 Return-Path: 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 35321106566B for ; Fri, 8 Jan 2010 15:46:29 +0000 (UTC) (envelope-from jaz@goatcse.cx) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id ED4268FC08 for ; Fri, 8 Jan 2010 15:46:28 +0000 (UTC) Received: by qyk6 with SMTP id 6so8293020qyk.3 for ; Fri, 08 Jan 2010 07:46:19 -0800 (PST) MIME-Version: 1.0 Sender: jaz@goatcse.cx Received: by 10.229.29.204 with SMTP id r12mr4005481qcc.72.1262965578839; Fri, 08 Jan 2010 07:46:18 -0800 (PST) In-Reply-To: <4A5B06B3.5020004@gmx.net> References: <58c737d70907082058s4e97223fuc0bdbdfaabc3a0a5@mail.gmail.com> <20090709153940.4544bfa8.stas@FreeBSD.org> <58c737d70907091052g7a6f962jf87e94974f7e46aa@mail.gmail.com> <2a41acea0907091135j12f4c0efn963859f8def1d9cd@mail.gmail.com> <2a41acea0907091713v6291f7dbt33b61c10ee7db893@mail.gmail.com> <58c737d70907100058u263ab795g442c62d67ba2345f@mail.gmail.com> <2a41acea0907101026j65c16017kfb57cbd77c72577c@mail.gmail.com> <4A5B06B3.5020004@gmx.net> Date: Sat, 9 Jan 2010 02:46:18 +1100 X-Google-Sender-Auth: 5607d70de9aa9c52 Message-ID: <60a0e8261001080746x4445d45dmbc218c49245eaeb7@mail.gmail.com> From: Jaz To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: no em0 with r195477 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 15:46:29 -0000 Hi, I have this same problem too on 8.0-release. I have an intel chipset motherboard with onboard age0 lan, and my pci intel1000 (em0) card was working fine before upgrading from 7.2 to 8.0 2009/7/13 Michael Schmiedgen : > Hi, > > I got this on my boot console, revision is from last week: > > em0: The EEPROM Checksum Is Not Valid > device_attach: em0 attach returned 5 > > It's a Supermicro workstation board with Intel chipset and > build-in NIC. I am dual boot and WinXP works fine, so the > checksum message is perhaps not correct. > > I am not at machine at the moment but let me know if you > want to get further, detailed information. > > > Michael > _______________________________________________ > 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-current@FreeBSD.ORG Fri Jan 8 16:06:54 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C60E6106566B; Fri, 8 Jan 2010 16:06:54 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6288FC12; Fri, 8 Jan 2010 16:06:54 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o08G6rl8049028; Fri, 8 Jan 2010 11:06:53 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o08G6rOJ049002; Fri, 8 Jan 2010 16:06:53 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 8 Jan 2010 16:06:53 GMT Message-Id: <201001081606.o08G6rOJ049002@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 16:06:54 -0000 TB --- 2010-01-08 14:15:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-08 14:15:00 - starting HEAD tinderbox run for i386/i386 TB --- 2010-01-08 14:15:00 - cleaning the object tree TB --- 2010-01-08 14:15:31 - cvsupping the source tree TB --- 2010-01-08 14:15:31 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2010-01-08 14:15:58 - building world TB --- 2010-01-08 14:15:58 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 14:15:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 14:15:58 - TARGET=i386 TB --- 2010-01-08 14:15:58 - TARGET_ARCH=i386 TB --- 2010-01-08 14:15:58 - TZ=UTC TB --- 2010-01-08 14:15:58 - __MAKE_CONF=/dev/null TB --- 2010-01-08 14:15:58 - cd /src TB --- 2010-01-08 14:15:58 - /usr/bin/make -B buildworld >>> World build started on Fri Jan 8 14:15:59 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri Jan 8 15:15:22 UTC 2010 TB --- 2010-01-08 15:15:22 - generating LINT kernel config TB --- 2010-01-08 15:15:22 - cd /src/sys/i386/conf TB --- 2010-01-08 15:15:22 - /usr/bin/make -B LINT TB --- 2010-01-08 15:15:22 - building LINT kernel TB --- 2010-01-08 15:15:22 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 15:15:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 15:15:22 - TARGET=i386 TB --- 2010-01-08 15:15:22 - TARGET_ARCH=i386 TB --- 2010-01-08 15:15:22 - TZ=UTC TB --- 2010-01-08 15:15:22 - __MAKE_CONF=/dev/null TB --- 2010-01-08 15:15:22 - cd /src TB --- 2010-01-08 15:15:22 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jan 8 15:15:22 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Fri Jan 8 15:39:48 UTC 2010 TB --- 2010-01-08 15:39:48 - building GENERIC kernel TB --- 2010-01-08 15:39:48 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 15:39:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 15:39:48 - TARGET=i386 TB --- 2010-01-08 15:39:48 - TARGET_ARCH=i386 TB --- 2010-01-08 15:39:48 - TZ=UTC TB --- 2010-01-08 15:39:48 - __MAKE_CONF=/dev/null TB --- 2010-01-08 15:39:48 - cd /src TB --- 2010-01-08 15:39:48 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jan 8 15:39:48 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GENERIC completed on Fri Jan 8 15:59:31 UTC 2010 TB --- 2010-01-08 15:59:31 - building PAE kernel TB --- 2010-01-08 15:59:31 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 15:59:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 15:59:31 - TARGET=i386 TB --- 2010-01-08 15:59:31 - TARGET_ARCH=i386 TB --- 2010-01-08 15:59:31 - TZ=UTC TB --- 2010-01-08 15:59:31 - __MAKE_CONF=/dev/null TB --- 2010-01-08 15:59:31 - cd /src TB --- 2010-01-08 15:59:31 - /usr/bin/make -B buildkernel KERNCONF=PAE >>> Kernel build for PAE started on Fri Jan 8 15:59:31 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for PAE completed on Fri Jan 8 16:04:27 UTC 2010 TB --- 2010-01-08 16:04:27 - building XEN kernel TB --- 2010-01-08 16:04:27 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-08 16:04:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-08 16:04:27 - TARGET=i386 TB --- 2010-01-08 16:04:27 - TARGET_ARCH=i386 TB --- 2010-01-08 16:04:27 - TZ=UTC TB --- 2010-01-08 16:04:27 - __MAKE_CONF=/dev/null TB --- 2010-01-08 16:04:27 - cd /src TB --- 2010-01-08 16:04:27 - /usr/bin/make -B buildkernel KERNCONF=XEN >>> Kernel build for XEN started on Fri Jan 8 16:04:27 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/xen/mp_machdep.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/xen/mptable.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/i386/mptable_pci.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/i386/msi.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/i386/nexus.c cc -c -O -pipe -std=c99 -g -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /src/sys/i386/xen/pmap.c cc1: warnings being treated as errors /src/sys/i386/xen/pmap.c:558: warning: 'pmap_set_pg' defined but not used *** Error code 1 Stop in /obj/i386/src/sys/XEN. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-08 16:06:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-08 16:06:53 - ERROR: failed to build XEN kernel TB --- 2010-01-08 16:06:53 - 5118.80 user 986.31 system 6713.18 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 17:19:21 2010 Return-Path: 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 3F282106566C for ; Fri, 8 Jan 2010 17:19:21 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E70938FC20 for ; Fri, 8 Jan 2010 17:19:20 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NTIUY-00046j-5A for freebsd-current@freebsd.org; Fri, 08 Jan 2010 18:19:18 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2010 18:19:18 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2010 18:19:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: martinko Date: Fri, 08 Jan 2010 18:18:56 +0100 Lines: 30 Message-ID: References: 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: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20100102 SeaMonkey/2.0.1 In-Reply-To: Sender: news Cc: freebsd-stable@freebsd.org Subject: Re: driver bug: Unable to set devclass (devname: (null)) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 17:19:21 -0000 pluknet wrote: > 2010/1/8 martinko: >> Hi, >> >> This is 8.0-RELEASE-p2 and I see the following during boot: >> >> Jan 8 09:38:46 mb-aw1n-bsd kernel: Timecounter "TSC" frequency 1993542975 >> Hz quality 800 >> Jan 8 09:38:46 mb-aw1n-bsd kernel: Timecounters tick every 1.000 msec >> Jan 8 09:38:46 mb-aw1n-bsd kernel: firewire0: 1 nodes, maxhop<= 0 cable >> IRM irm(0) (me) >> Jan 8 09:38:46 mb-aw1n-bsd kernel: firewire0: bus manager 0 >> Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus0: 12Mbps Full Speed USB v1.0 >> Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus1: 12Mbps Full Speed USB v1.0 >> Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus2: 12Mbps Full Speed USB v1.0 >> Jan 8 09:38:46 mb-aw1n-bsd kernel: usbus3: 480Mbps High Speed USB v2.0 >> Jan 8 09:38:46 mb-aw1n-bsd kernel: driver bug: Unable to set devclass >> (devname: (null)) >> ^^^^^^^^^^-- ??? >> Jan 8 09:38:46 mb-aw1n-bsd kernel: ad0: 76319MB >> at ata0-master UDMA100 >> >> I'm not sure which driver spits it out -- perhaps new USB stack ? >> > > There was a thread which might be helpful to identify a buggy driver: > http://lists.freebsd.org/pipermail/freebsd-current/2009-March/004272.html Well, in that thread Alexander mentioned ata and that's just next to my driver bug message. From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 19:27:03 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAC031065692; Fri, 8 Jan 2010 19:27:03 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2FB568FC19; Fri, 8 Jan 2010 19:27:02 +0000 (UTC) Received: by ewy26 with SMTP id 26so18174553ewy.3 for ; Fri, 08 Jan 2010 11:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Crg2KHfEiWsxemTrksihwdaXiVtsMeeH8/1xWKpJ790=; b=TG+N+hdZoR+Wl2iub0ycz1P7M7IR+t2HokyA3wrxFBgiVFcrTSzcmlorZ5yjOW1/GO 5P1xxocjLYlXXx/Qp5cyKLJGP2TRncE+yoc/CPcJMzM3uIYjDHjNdT4QQqZo0XKPlpnT /rOqI30giDsvaFq762TTY/Ze3UacuJMlLlx7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MiEXf/u9DoiWhnfihdHISVejqwAsYZF4WFEtbAgfWoqtv8GDjxbHq/FL8WgBM7P60w C76rmNUspbCfXkhixGfFnsqwnR3lN6W/awDimXZHA/NSGdFbXonz7yizx85ZFgM5uvDG RxlS4HobI50aVB1qrYeKxrROZmtz0DYvSu87k= MIME-Version: 1.0 Received: by 10.213.47.9 with SMTP id l9mr3443121ebf.93.1262978822146; Fri, 08 Jan 2010 11:27:02 -0800 (PST) Date: Fri, 8 Jan 2010 20:27:02 +0100 Message-ID: <3a142e751001081127u9cbabdclcb86f0b129166914@mail.gmail.com> From: Paul B Mahol To: current@freebsd.org, stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: ndis(4) on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 19:27:03 -0000 Hi, I'm looking for users of NDISulator on amd64. Have anyone managed to get working ndis(4) on amd64? -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 19:58:31 2010 Return-Path: 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 016BF1065670; Fri, 8 Jan 2010 19:58:31 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from mail.anduin.net (mail.anduin.net [213.225.74.249]) by mx1.freebsd.org (Postfix) with ESMTP id A9F608FC0A; Fri, 8 Jan 2010 19:58:30 +0000 (UTC) Received: from [212.62.248.147] (helo=ranger.home.anduin.net) by mail.anduin.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NTKyZ-000Lj0-4G; Fri, 08 Jan 2010 20:58:27 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Eirik_=D8verby?= In-Reply-To: <3BC13C71-348A-49AD-94BA-FC28EB0648DE@freebsd.org> Date: Fri, 8 Jan 2010 20:58:26 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <43D0E400-183E-4741-9ABD-14ED80D90983@anduin.net> References: <20091129013026.GA1355@michelle.cdnetworks.com> <74BFE523-4BB3-4748-98BA-71FBD9829CD5@anduin.net> <34AD565D-814A-446A-B9CA-AC16DD762E1B@anduin.net> <1DFC4992-E136-4674-BC0E-A6B1DAE12AF4@anduin.net> <3BC13C71-348A-49AD-94BA-FC28EB0648DE@freebsd.org> To: "Robert N. M. Watson" , Rick Macklem X-Mailer: Apple Mail (2.1077) Cc: pyunyh@gmail.com, weldon@excelsusphoto.com, freebsd-current@freebsd.org, Gavin Atkinson Subject: Re: FreeBSD 8.0 - network stack crashes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 19:58:31 -0000 On 8. jan. 2010, at 16.33, Robert N. M. Watson wrote: > On 30 Nov 2009, at 19:13, Eirik =D8verby wrote: >=20 >> I meant NFS-UDP ... However I was wrong even there; Using NFS over = UDP from FreeBSD boxes does not cause the same issue. So OpenBSD seems = to be a special case here. >>=20 >> I'm no Wireshark expert (to be fair, I've seen it a few times and = tried it once or twice, and that's so long ago it's almost no longer = true), so I'd need some input on how to gather useful data. I assume = tcpdump, which options? And would it be OK if I made the dump available = for download somewhere, so you or someone else can take a look with = whichever tools you'd like? >=20 > Aii. Over a month zips past in the blink of an eye. Happens all the time. ;) > Are you still experiencing this problem? I can certainly look at a = wireshark trace, but make no promises. If you do do a trace, then what = we should do is have you do run a script that dumps a bunch of relevant = stats with nfsstat, netstat, vmstat, etc, before the trace starts, grabs = exactly ${someval} seconds of trace data, then dumps all the same stats = afterwards. Then we can use the stats to work out about how many leaked = packets (or whatever) were present, and try to correlate it to a count = of some type of event in the trace. I got a patch from Rick early december which I have tried, but that one = unfortunately did not seem to make any difference. I cvsup'ed = (RELENG_8_0), patched, compiled, installed, booted and tested on the = 12th - any reason to think things might have changes on 8.0 since then? = I'm assuming not, in which case the answer is yes, I am still = experiencing this problem (except I've made all our OpenBSD boxen speak = TCP now, avoiding the problem entirely). I'll perform whichever tests you'd like me to on that particular system. = Just send me the scripts or pseudocode, and I'll get it done as soon as = I can. I was also planning on setting up a pair of VMs (one FreeBSD and one = OpenBSD) and try to reproduce there - but that month that zipped past = has not allowed the time to do so. Thanks, /Eirik From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 21:38:08 2010 Return-Path: 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 4A8651065698; Fri, 8 Jan 2010 21:38:08 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id B7D2F8FC14; Fri, 8 Jan 2010 21:38:07 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAEo0R0uDaFvK/2dsb2JhbADVboQvBA X-IronPort-AV: E=Sophos;i="4.49,244,1262581200"; d="scan'208";a="60526268" Received: from fraser.cs.uoguelph.ca ([131.104.91.202]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 08 Jan 2010 16:38:06 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id EB08B109C306; Fri, 8 Jan 2010 16:38:05 -0500 (EST) X-Virus-Scanned: amavisd-new at fraser.cs.uoguelph.ca Received: from fraser.cs.uoguelph.ca ([127.0.0.1]) by localhost (fraser.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g9BQJh8D8GxZ; Fri, 8 Jan 2010 16:38:05 -0500 (EST) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id 7045B109C2CC; Fri, 8 Jan 2010 16:38:05 -0500 (EST) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o08Lm4k25174; Fri, 8 Jan 2010 16:48:06 -0500 (EST) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 8 Jan 2010 16:48:04 -0500 (EST) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: =?utf-8?B?RWlyaWsgw5h2ZXJieQ==?= In-Reply-To: <43D0E400-183E-4741-9ABD-14ED80D90983@anduin.net> Message-ID: References: <20091129013026.GA1355@michelle.cdnetworks.com> <74BFE523-4BB3-4748-98BA-71FBD9829CD5@anduin.net> <34AD565D-814A-446A-B9CA-AC16DD762E1B@anduin.net> <1DFC4992-E136-4674-BC0E-A6B1DAE12AF4@anduin.net> <3BC13C71-348A-49AD-94BA-FC28EB0648DE@freebsd.org> <43D0E400-183E-4741-9ABD-14ED80D90983@anduin.net> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1804928587-1262987284=:24198" Cc: pyunyh@gmail.com, weldon@excelsusphoto.com, freebsd-current@freebsd.org, "Robert N. M. Watson" , Gavin Atkinson Subject: Re: FreeBSD 8.0 - network stack crashes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 21:38: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. ---559023410-1804928587-1262987284=:24198 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 8 Jan 2010, Eirik =C3~Xverby wrote: > > On 8. jan. 2010, at 16.33, Robert N. M. Watson wrote: >> On 30 Nov 2009, at 19:13, Eirik =D8verby wrote: >> >>> I meant NFS-UDP ... However I was wrong even there; Using NFS over UDP = from FreeBSD boxes does not cause the same issue. So OpenBSD seems to be a = special case here. >>> As a data point, I tried to reproduce it here using an OpenBSD4.5 client=20 and wasn't able to see a leak. So it might be only certain versions of OpenBSD or certain network configs or ??? (I used NFSv3 over UDP.) I doubt it, but if the version of OpenBSD you were using happened to use NFSv2 by default with UDP vs NFSv3 for TCP, there is a patch that fixes an mbuf leak, that is specific to NFSv2. However, if you were using NFSv3 over UDP, then this won't be relevant. I can look at a packet trace, but I kinda doubt that it's going to shed light on the cause of the mbuf leak. ("tcpdump -s 0 -w host " should get a packet capture that Wireshark will make sense of.) rick ---559023410-1804928587-1262987284=:24198-- From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 22:01:14 2010 Return-Path: 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 A3246106568D; Fri, 8 Jan 2010 22:01:14 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from mail.anduin.net (mail.anduin.net [213.225.74.249]) by mx1.freebsd.org (Postfix) with ESMTP id 573A68FC08; Fri, 8 Jan 2010 22:01:14 +0000 (UTC) Received: from [212.62.248.147] (helo=ranger.home.anduin.net) by mail.anduin.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NTMtK-0005ZU-G4; Fri, 08 Jan 2010 23:01:10 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Eirik_=D8verby?= In-Reply-To: Date: Fri, 8 Jan 2010 23:01:09 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091129013026.GA1355@michelle.cdnetworks.com> <74BFE523-4BB3-4748-98BA-71FBD9829CD5@anduin.net> <34AD565D-814A-446A-B9CA-AC16DD762E1B@anduin.net> <1DFC4992-E136-4674-BC0E-A6B1DAE12AF4@anduin.net> <3BC13C71-348A-49AD-94BA-FC28EB0648DE@freebsd.org> <43D0E400-183E-4741-9ABD-14ED80D90983@anduin.net> To: Rick Macklem X-Mailer: Apple Mail (2.1077) Cc: pyunyh@gmail.com, weldon@excelsusphoto.com, freebsd-current@freebsd.org, "Robert N. M. Watson" , Gavin Atkinson Subject: Re: FreeBSD 8.0 - network stack crashes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 22:01:14 -0000 On 8. jan. 2010, at 22.48, Rick Macklem wrote: > On Fri, 8 Jan 2010, Eirik =C3~Xverby wrote: >=20 >>=20 >> On 8. jan. 2010, at 16.33, Robert N. M. Watson wrote: >>> On 30 Nov 2009, at 19:13, Eirik =D8verby wrote: >>>=20 >>>> I meant NFS-UDP ... However I was wrong even there; Using NFS over = UDP from FreeBSD boxes does not cause the same issue. So OpenBSD seems = to be a special case here. >>>>=20 > As a data point, I tried to reproduce it here using an OpenBSD4.5 = client and wasn't able to see a leak. So it might be only certain = versions of > OpenBSD or certain network configs or ??? (I used NFSv3 over UDP.) >=20 > I doubt it, but if the version of OpenBSD you were using happened to > use NFSv2 by default with UDP vs NFSv3 for TCP, there is a patch that > fixes an mbuf leak, that is specific to NFSv2. However, if you were > using NFSv3 over UDP, then this won't be relevant. 10.1.5.200:/data/backup/alge.anart.no on /mnt type nfs (v3, tcp, = timeo=3D100) 10.1.5.200:/data/backup/alge.anart.no on /mnt2 type nfs (v3, udp, = timeo=3D100) The first one is the mount I'm currently using (v3, tcp), which does not = cause the problem. The second one is the result of mount 10.1.5.200:/data/backup/alge.anart.no /mnt2 and it does, though it's OpenBSD 4.4, default to v3 udp. I'll try gathering a trace next week. Any other ideas, let me know. /Eirik > I can look at a packet trace, but I kinda doubt that it's going to > shed light on the cause of the mbuf leak. > ("tcpdump -s 0 -w host " should get a packet capture > that Wireshark will make sense of.) >=20 > rick > _______________________________________________ > 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-current@FreeBSD.ORG Fri Jan 8 22:43:31 2010 Return-Path: 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 692BC106566C for ; Fri, 8 Jan 2010 22:43:31 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4242C8FC08 for ; Fri, 8 Jan 2010 22:43:31 +0000 (UTC) Received: from [10.0.0.171] (unknown [64.9.237.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 46CBB22E247; Fri, 8 Jan 2010 17:43:24 -0500 (EST) Message-ID: <4B47B4F6.8030106@gmail.com> Date: Fri, 08 Jan 2010 14:43:02 -0800 From: David Ehrmann User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: pyunyh@gmail.com References: <4B40AFFA.6090706@gmail.com> <20100103221630.GV1166@michelle.cdnetworks.com> In-Reply-To: <20100103221630.GV1166@michelle.cdnetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: vge traffic problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 22:43:31 -0000 Pyun YongHyeon wrote: > On Sun, Jan 03, 2010 at 06:55:54AM -0800, David Ehrmann wrote: > > I think I fixed all known vge(4) issues in HEAD. vge(4) in HEAD has > new hardware based interrupt moderation, hardware MAC statistics > support and WOL as well as fixing long standing bugs. Would you try > latest vge(4) in HEAD?(Just download if_vge.c, if_vgereg.h and > if_vgevar.h from HEAD and rebuild it). If your vge(4) controller > use IC Plus IP1001PHY you may also want to download ip1000phy.c in > HEAD to reliably establish 1000baseT link after waking up from > WOL/resume. > It seems to be working, but I'm going to keep testing it before I proclaim it fixed. Will these changes be in 8.1? From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 23:28:56 2010 Return-Path: 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 7467A1065670 for ; Fri, 8 Jan 2010 23:28:56 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from redwerk.com (redwerk.com [89.105.196.9]) by mx1.freebsd.org (Postfix) with ESMTP id 2EBCA8FC12 for ; Fri, 8 Jan 2010 23:28:56 +0000 (UTC) Received: from [192.168.250.5] (helo=office.redwerk.com) by redwerk.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NTOGD-0007fa-NW for freebsd-current@freebsd.org; Sat, 09 Jan 2010 00:28:54 +0100 Received: from bofh by office.redwerk.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NTOGC-000EHz-BK for freebsd-current@freebsd.org; Sat, 09 Jan 2010 01:28:52 +0200 Date: Sat, 9 Jan 2010 01:28:52 +0200 From: Eugene Dzhurinsky To: freebsd-current@freebsd.org Message-ID: <20100108232852.GA54924@office.redwerk.com> Mail-Followup-To: freebsd-current@freebsd.org References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001051451j510d8339o19146703a150ed12@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <3a142e751001051451j510d8339o19146703a150ed12@mail.gmail.com> Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 23:28:56 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 05, 2010 at 11:51:01PM +0100, Paul B Mahol wrote: > >> Is anything displayed on console? Are you sure you are using > >> 5.1 driveres (for XP) and not newer ones? > > > > I am using xp3264-7.7.0.329-whql.zip file from Atheros. > > > > When trying to convert the ones athwx.sys and netathwx.inf I am getting= the > > error: >=20 > That files are for amd64. Okay, I've added newlines to sys files - and kernel modules were generated just fine. However both of them are leading to kernel panic once loaded, af= ter ndis0 device is created. I don't know, how can I dump these logs. If it is possible - can you please explain the steps? Thank you in advance. --=20 Eugene N Dzhurinsky --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAktHv7MACgkQy/i/DoZLbHxuEQCcCqVPenyDafaykeO/+XpMBv3B zBoAoJj+1MgY3wQ9bdxyx/loQ0KgjNHJ =EYh/ -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua-- From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 23:48:32 2010 Return-Path: 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 6B449106566C for ; Fri, 8 Jan 2010 23:48:32 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from redwerk.com (redwerk.com [89.105.196.9]) by mx1.freebsd.org (Postfix) with ESMTP id F1EE28FC08 for ; Fri, 8 Jan 2010 23:48:31 +0000 (UTC) Received: from [192.168.250.5] (helo=office.redwerk.com) by redwerk.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NTOZC-00089O-7P for freebsd-current@freebsd.org; Sat, 09 Jan 2010 00:48:30 +0100 Received: from bofh by office.redwerk.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NTOZA-000EKA-UL for freebsd-current@freebsd.org; Sat, 09 Jan 2010 01:48:28 +0200 Date: Sat, 9 Jan 2010 01:48:28 +0200 From: Eugene Dzhurinsky To: freebsd-current@freebsd.org Message-ID: <20100108234828.GA55025@office.redwerk.com> Mail-Followup-To: freebsd-current@freebsd.org References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001041113q104d8ddexcaf483bf46500dc1@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <3a142e751001041113q104d8ddexcaf483bf46500dc1@mail.gmail.com> Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 23:48:32 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 04, 2010 at 08:13:57PM +0100, Paul B Mahol wrote: > >> Could you please test code from here: > >> http://gitorious.org/ndisulator > > > > Sorry, I'm not sure that I understand how to use that. Should I copy the > > folders to /usr/src and rebuild world and kernel? >=20 > Just use mount_nullfs, no need to change files. Hello, Paul! I've got the chance to play with the sources. What I've done: 1) copied folders into appropriate places of /usr/src 2) built and installed ndis module 3) built and installed if_ndis module 4) built and installed ndiscvt executable 5) generated athw_sys.ko module 6) copied athw_sys.ko module into /boot/kernel 7) rebooted 8) manually loaded ndis and if_ndis module (the latter was loaded automatically by ndis as I realized) 9) loaded athw_sys 10) booted and on initializing of ndis device kernel panic was detected on page read at some address. If I did something wrong, or I can provide you with some more information - please let me know, what would you like me to send you (and how to get it). Thank you in advance! --=20 Eugene N Dzhurinsky --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAktHxEsACgkQy/i/DoZLbHx9AwCbBKQxzbjLP5Pejn0FgUp8r1E5 qwQAn1RsBhFsroJjWwAYgYyW1c7a8ktU =yjFc -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc-- From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 00:54:06 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0927E106566C for ; Sat, 9 Jan 2010 00:54:06 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id C4FF38FC0C for ; Sat, 9 Jan 2010 00:54:05 +0000 (UTC) Received: by yxe2 with SMTP id 2so5076674yxe.7 for ; Fri, 08 Jan 2010 16:54:01 -0800 (PST) Received: by 10.150.42.1 with SMTP id p1mr2127979ybp.15.1262998440880; Fri, 08 Jan 2010 16:54:00 -0800 (PST) Received: from ?10.0.1.198? (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id 5sm8164488ywd.53.2010.01.08.16.53.59 (version=SSLv3 cipher=RC4-MD5); Fri, 08 Jan 2010 16:54:00 -0800 (PST) Date: Fri, 8 Jan 2010 14:56:45 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: current@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 00:54:06 -0000 Hello, I have been augmenting softupdates with a small journal that will be processed in lieu of fsck in the event of a crash. I have written some about this project here: http://jeffr_tech.livejournal.com/ For now I need volunteers who will attempt to crash the kernel code. It now passes fsx, fsstress, and stress2 on my box for many hours. pho@ has been helping me and may still have a bug or two but I need a wider audience so we can be comfortable with the stability. In a week or so I will also provide the checker. Until then a full fsck is required after a crash. To install you will need to apply http://people.freebsd.org/~jeff/suj.diff to a recent current source tree. You will then need to recompile libufs, fsck_ffs, and tunefs at a minimum. You must disable softupdates on all filesystems before rebooting with the SUJ kernel. It is presently not backwards compatible with softupdates without journaling but I will fix that soon. You must disable background fsck by placing background_fsck="NO" in your rc.conf. You can enable suj by running tunefs -j enable /dev/{device}. You can disable suj by running tunefs -j disable /dev/{device} and then doing a full foreground fsck. There are no ill effects from removing the journal and you may go back to running a kernel without SUJ and using softupdates without any incompatibilities. I have not yet corrupted a filesystem in testing. tunefs allocates the journal which will be between 2 and 64mb depending on the size of the filesystem. I will probably ultimately make the maximum smaller but presently the smaller of 1/1024th of the fs or 64mb is used. I would suggest booting to single user to disable softupdates and enable suj before rebooting with the suj enabled kernel. Please also enable crashdumps. You can see the freebsd handobok for instructions on that. I would also mention that there is a lot of expensive debugging code at present. You can expect some cpu slowdown but I also hope you will run with INVARIANTS and WITNESS enabled to catch as many bugs as possible. I appreciate any and all assistance. Even reports of everything going smoothly after a few days uptime are valuable. Thanks, Jeff From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 01:08:00 2010 Return-Path: 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 7EB2F106566B for ; Sat, 9 Jan 2010 01:08:00 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 322348FC0C for ; Sat, 9 Jan 2010 01:08:00 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NTPo5-0001Lz-W3 for freebsd-current@freebsd.org; Sat, 09 Jan 2010 02:07:57 +0100 Received: from 93-138-40-75.adsl.net.t-com.hr ([93.138.40.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2010 02:07:57 +0100 Received: from ivoras by 93-138-40-75.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2010 02:07:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Sat, 09 Jan 2010 02:07:34 +0100 Lines: 20 Message-ID: References: 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: 93-138-40-75.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: Sender: news Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 01:08:00 -0000 Jeff Roberson wrote: > Hello, > > I have been augmenting softupdates with a small journal that will be > processed in lieu of fsck in the event of a crash. I have written some > about this project here: http://jeffr_tech.livejournal.com/ Good news! > For now I need volunteers who will attempt to crash the kernel code. It > now passes fsx, fsstress, and stress2 on my box for many hours. pho@ > has been helping me and may still have a bug or two but I need a wider > audience so we can be comfortable with the stability. In a week or so I > will also provide the checker. Until then a full fsck is required after > a crash. Hi, Do you mean that journal replay/recovery is implemented but not 100% working yet so a fsck is needed or that it is still missing? From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 01:32:58 2010 Return-Path: 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 B0A59106568F for ; Sat, 9 Jan 2010 01:32:58 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 62CB58FC1C for ; Sat, 9 Jan 2010 01:32:58 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so4482194qwb.7 for ; Fri, 08 Jan 2010 17:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=iSPRTho5CsYo84djDWXSDoLksby5iXRvgsC7V2Y7RXA=; b=XxItjrxmN3ZqOpTg9Hebq3QeyYxHJIckrBKjAc0ebSg1aRBPfFF/FNyD6f4jhaVByv zD8Y45dPx6pqlNy98IoWZoCu+E7rGErb5X0CqGfE38ryehlgtmGFnr0j2rWqfNs/KZR8 /VKvdhU5u8bgmJe2iV1PzSzHw9zXDOQsZ+EsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=cWCTnhemd4jSBTOP4b4PDBibezbd+fmitlQkTDF/enmX4xLeBGOVJPeD3fL+iRzFxM vH+0vuAduIDFMTmsgsiRqFCLxb4h2hXC2NfEvld/QaMx7ov96ORqXe/kMQJZFKdRkZdP rxBgfwtc8m4nBPiyFtg68GnDKgvm1pHnXFE50= Received: by 10.224.51.231 with SMTP id e39mr12868935qag.138.1263000772504; Fri, 08 Jan 2010 17:32:52 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 22sm20176291qyk.6.2010.01.08.17.32.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 Jan 2010 17:32:49 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 8 Jan 2010 17:31:45 -0800 From: Pyun YongHyeon Date: Fri, 8 Jan 2010 17:31:45 -0800 To: David Ehrmann Message-ID: <20100109013145.GG18529@michelle.cdnetworks.com> References: <4B40AFFA.6090706@gmail.com> <20100103221630.GV1166@michelle.cdnetworks.com> <4B47B4F6.8030106@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B47B4F6.8030106@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: vge traffic problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 01:32:58 -0000 On Fri, Jan 08, 2010 at 02:43:02PM -0800, David Ehrmann wrote: > Pyun YongHyeon wrote: > >On Sun, Jan 03, 2010 at 06:55:54AM -0800, David Ehrmann wrote: > > > >I think I fixed all known vge(4) issues in HEAD. vge(4) in HEAD has > >new hardware based interrupt moderation, hardware MAC statistics > >support and WOL as well as fixing long standing bugs. Would you try > >latest vge(4) in HEAD?(Just download if_vge.c, if_vgereg.h and > >if_vgevar.h from HEAD and rebuild it). If your vge(4) controller > >use IC Plus IP1001PHY you may also want to download ip1000phy.c in > >HEAD to reliably establish 1000baseT link after waking up from > >WOL/resume. > > > It seems to be working, but I'm going to keep testing it before I Ok. > proclaim it fixed. Will these changes be in 8.1? Yes, I've MFCed all changes to stable/8 and stable/7. From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 01:39:55 2010 Return-Path: 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 EA6C0106566C; Sat, 9 Jan 2010 01:39:55 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4848FC08; Sat, 9 Jan 2010 01:39:55 +0000 (UTC) Received: by yxe2 with SMTP id 2so5097974yxe.7 for ; Fri, 08 Jan 2010 17:39:52 -0800 (PST) Received: by 10.91.182.8 with SMTP id j8mr2747148agp.48.1263001191014; Fri, 08 Jan 2010 17:39:51 -0800 (PST) Received: from ?10.0.1.198? (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id 22sm8173648ywh.45.2010.01.08.17.39.49 (version=SSLv3 cipher=RC4-MD5); Fri, 08 Jan 2010 17:39:50 -0800 (PST) Date: Fri, 8 Jan 2010 15:42:35 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Ivan Voras In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 01:39:56 -0000 On Sat, 9 Jan 2010, Ivan Voras wrote: > Jeff Roberson wrote: >> Hello, >> >> I have been augmenting softupdates with a small journal that will be >> processed in lieu of fsck in the event of a crash. I have written some >> about this project here: http://jeffr_tech.livejournal.com/ > > Good news! > >> For now I need volunteers who will attempt to crash the kernel code. It >> now passes fsx, fsstress, and stress2 on my box for many hours. pho@ has >> been helping me and may still have a bug or two but I need a wider audience >> so we can be comfortable with the stability. In a week or so I will also >> provide the checker. Until then a full fsck is required after a crash. > > Hi, > > Do you mean that journal replay/recovery is implemented but not 100% working > yet so a fsck is needed or that it is still missing? Hi Ivan, It is implemented. You can search for suj.c in the patch if you would like to review the source. It is part of fsck_ffs. Currently it does not have perfect information from the kernel in some cases. I'm working on fixing those now, and I believe I know what all of them are. For the next step in testing I will ask volunteers to run the suj recovery stage followed by a full filesystem check. If the full check turns up any problems we will know the recovery stage is not yet perfect. The recovery code produces a text log when the -d flag is supplied which produces about 10MB of text for every 1MB of journal but tells me exactly what happened as diagnosing these problems can be quite difficult. I also need to work on performance some although it tends to take only a couple of seconds for each valid megabyte in the journal. I suspect the final maximum journal size will be around 32MB which would limit fsck to around a minute in the worst case of 1 million valid journal records. Thanks, Jeff > > _______________________________________________ > 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-current@FreeBSD.ORG Sat Jan 9 01:41:18 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B98E106566B for ; Sat, 9 Jan 2010 01:41:18 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 506FB8FC14 for ; Sat, 9 Jan 2010 01:41:18 +0000 (UTC) Received: by yxe2 with SMTP id 2so5098520yxe.7 for ; Fri, 08 Jan 2010 17:41:12 -0800 (PST) Received: by 10.101.126.10 with SMTP id d10mr15767952ann.96.1263001272189; Fri, 08 Jan 2010 17:41:12 -0800 (PST) Received: from ?10.0.1.198? (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id 4sm8177455ywd.14.2010.01.08.17.41.10 (version=SSLv3 cipher=RC4-MD5); Fri, 08 Jan 2010 17:41:11 -0800 (PST) Date: Fri, 8 Jan 2010 15:43:56 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Maxim Sobolev In-Reply-To: <4B47D80C.204@FreeBSD.org> Message-ID: References: <4B47D80C.204@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@FreeBSD.org Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 01:41:18 -0000 On Fri, 8 Jan 2010, Maxim Sobolev wrote: > Jeff Roberson wrote: >> Hello, >> >> I have been augmenting softupdates with a small journal that will be >> processed in lieu of fsck in the event of a crash. I have written some >> about this project here: http://jeffr_tech.livejournal.com/ > > That's the best news I've heard in months! Thank you, Jeff, big time, I could > not wait for it to be available in 8.x and 7.x! Sorry for making meaningless > noise on technical list, just could not stand it. I think that you will not > have any problem with free beer supply on any technical BSD conference in at > least 2-3 years. At least I am certainly ready to put my wallet where my > month is when we meet in real. :) > Thanks for the encouragement. :) Please also thank iXsystems, Yahoo!, and Juniper for providing some funding for this effort. I am not yet ready to celebrate myself until it's in current and happily working. Thanks, Jeff > -Maxim > From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 01:51:03 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B34D010656A4 for ; Sat, 9 Jan 2010 01:51:03 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk1.360sip.com [72.236.70.240]) by mx1.freebsd.org (Postfix) with ESMTP id 712688FC1C for ; Sat, 9 Jan 2010 01:51:03 +0000 (UTC) Received: from [192.168.1.38] (S0106005004e13421.vs.shawcable.net [70.71.167.197]) (authenticated bits=0) by sippysoft.com (8.14.3/8.14.3) with ESMTP id o091CGCd083995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jan 2010 17:12:17 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Message-ID: <4B47D80C.204@FreeBSD.org> Date: Fri, 08 Jan 2010 17:12:44 -0800 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeff Roberson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 01:51:03 -0000 Jeff Roberson wrote: > Hello, > > I have been augmenting softupdates with a small journal that will be > processed in lieu of fsck in the event of a crash. I have written some > about this project here: http://jeffr_tech.livejournal.com/ That's the best news I've heard in months! Thank you, Jeff, big time, I could not wait for it to be available in 8.x and 7.x! Sorry for making meaningless noise on technical list, just could not stand it. I think that you will not have any problem with free beer supply on any technical BSD conference in at least 2-3 years. At least I am certainly ready to put my wallet where my month is when we meet in real. :) -Maxim From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 02:35:27 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6E6D106568D; Sat, 9 Jan 2010 02:35:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 65A908FC16; Sat, 9 Jan 2010 02:35:27 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o092ZQPh018253; Fri, 8 Jan 2010 21:35:26 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o092ZQZ2018252; Sat, 9 Jan 2010 02:35:26 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 9 Jan 2010 02:35:26 GMT Message-Id: <201001090235.o092ZQZ2018252@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 02:35:27 -0000 TB --- 2010-01-09 02:17:38 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-09 02:17:38 - starting HEAD tinderbox run for mips/mips TB --- 2010-01-09 02:17:38 - cleaning the object tree TB --- 2010-01-09 02:17:50 - cvsupping the source tree TB --- 2010-01-09 02:17:50 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-01-09 02:18:15 - building world TB --- 2010-01-09 02:18:15 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-09 02:18:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-09 02:18:15 - TARGET=mips TB --- 2010-01-09 02:18:15 - TARGET_ARCH=mips TB --- 2010-01-09 02:18:15 - TZ=UTC TB --- 2010-01-09 02:18:15 - __MAKE_CONF=/dev/null TB --- 2010-01-09 02:18:15 - cd /src TB --- 2010-01-09 02:18:15 - /usr/bin/make -B buildworld >>> World build started on Sat Jan 9 02:18:16 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -DPTHREAD_KERNEL -I/src/lib/libthr/../libc/include -I/src/lib/libthr/thread -I/src/lib/libthr/../../include -I/src/lib/libthr/arch/mips/include -I/src/lib/libthr/sys -I/src/lib/libthr/../../libexec/rtld-elf -I/src/lib/libthr/../../libexec/rtld-elf/mips -I/src/lib/libthr/../libthread_db -Winline -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libthr/arch/mips/mips/pthread_md.c In file included from /src/lib/libthr/arch/mips/mips/pthread_md.c:37: /src/lib/libthr/arch/mips/include/pthread_md.h: In function '_tcb_set': /src/lib/libthr/arch/mips/include/pthread_md.h:64: error: 'MIPS_SET_TLS' undeclared (first use in this function) /src/lib/libthr/arch/mips/include/pthread_md.h:64: error: (Each undeclared identifier is reported only once /src/lib/libthr/arch/mips/include/pthread_md.h:64: error: for each function it appears in.) /src/lib/libthr/arch/mips/include/pthread_md.h: In function '_tcb_get': /src/lib/libthr/arch/mips/include/pthread_md.h:75: error: 'MIPS_GET_TLS' undeclared (first use in this function) *** Error code 1 Stop in /src/lib/libthr. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-09 02:35:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-09 02:35:26 - ERROR: failed to build world TB --- 2010-01-09 02:35:26 - 734.33 user 186.03 system 1067.90 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 08:23:16 2010 Return-Path: Delivered-To: current@freebsd.org Received: from alona.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E799C1065672; Sat, 9 Jan 2010 08:23:14 +0000 (UTC) (envelope-from davidxu@freebsd.org) Message-ID: <4B483CEE.2090502@freebsd.org> Date: Sat, 09 Jan 2010 16:23:10 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.21 (X11/20090522) MIME-Version: 1.0 To: Jeff Roberson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 08:23:16 -0000 Jeff Roberson wrote: > Hello, > > I have been augmenting softupdates with a small journal that will be > processed in lieu of fsck in the event of a crash. I have written > some about this project here: http://jeffr_tech.livejournal.com/ > > For now I need volunteers who will attempt to crash the kernel code. > It now passes fsx, fsstress, and stress2 on my box for many hours. > pho@ has been helping me and may still have a bug or two but I need a > wider audience so we can be comfortable with the stability. In a week > or so I will also provide the checker. Until then a full fsck is > required after a crash. Great news, does it also handle crash of recovering procedure ? For example, power off during recovering. Regards, David Xu From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 09:53:09 2010 Return-Path: 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 A68C21065670 for ; Sat, 9 Jan 2010 09:53:09 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 34FE18FC0C for ; Sat, 9 Jan 2010 09:53:08 +0000 (UTC) Received: by fxm27 with SMTP id 27so5346200fxm.3 for ; Sat, 09 Jan 2010 01:53:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=2STK7SVXrMsOlYQCUv2yar6xO4KQX1tI2FA+9EcsRo4=; b=nU3GlpTsQ6IMvN1cCvYP6CmF70sK10ccbo3M1BxlUUpA4zvJe/OaQcmiOqYVAfiGsC v4m9S5t3huiSG4CINQF0z0v3EpzSkrpM1ZFmeWILCkLEkr1GUHG5FPOnVI2Hw0XLn+QK Hvz647H6ZgckGy2urnoI7Z+Az9GTuZG+2NRZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=mC1pE8Kn6dOCyVqfVSRtqPCeEzR+ty3fAnyTFeaeF68ZqQiHWfX2pJDemUIZ3rh+kN XNcPHaSc/p3p8OW7E53PKdHB+MyhFn0BlYGvixAozbX4LFFjeSw1sVFH4PAmGqFW3Jca HQaDswlhuOKdXZdVoZm9MWamVi7j97eTfxeSQ= Received: by 10.223.18.137 with SMTP id w9mr4084335faa.61.1263030783578; Sat, 09 Jan 2010 01:53:03 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 15sm8654301fxm.10.2010.01.09.01.53.02 (version=SSLv3 cipher=RC4-MD5); Sat, 09 Jan 2010 01:53:02 -0800 (PST) Sender: Alexander Motin Message-ID: <4B4851FE.2020907@FreeBSD.org> Date: Sat, 09 Jan 2010 11:53:02 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Jeff Roberson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 09:53:09 -0000 Hi. Jeff Roberson wrote: > I have been augmenting softupdates with a small journal that will be > processed in lieu of fsck in the event of a crash. I have written some > about this project here: http://jeffr_tech.livejournal.com/ Sounds cool, but I have one question. Excuse my possible ignorance. I was looking for BIO_FLUSH consumers and haven't found UFS there. Unbacked write caching probably can make SoftUpdates unreliable, but it is bearable while foreground fsck is used. As I understand, journaled recovery is more dependent on data coherency, and so needs either unbacked write caching to be disabled, or BIO_FLUSH to be used in respective points by FS code. Am I right? So what's about BIO_FLUSH? -- Alexander Motin From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 10:04:17 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28BF41065676; Sat, 9 Jan 2010 10:04:17 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id C35918FC13; Sat, 9 Jan 2010 10:04:16 +0000 (UTC) Received: by ywh35 with SMTP id 35so11158118ywh.7 for ; Sat, 09 Jan 2010 02:04:13 -0800 (PST) Received: by 10.101.180.9 with SMTP id h9mr2601173anp.187.1263031452950; Sat, 09 Jan 2010 02:04:12 -0800 (PST) Received: from ?10.0.1.198? (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id 21sm1534725iwn.14.2010.01.09.02.04.11 (version=SSLv3 cipher=RC4-MD5); Sat, 09 Jan 2010 02:04:12 -0800 (PST) Date: Sat, 9 Jan 2010 00:06:59 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <4B483CEE.2090502@freebsd.org> Message-ID: References: <4B483CEE.2090502@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 10:04:17 -0000 On Sat, 9 Jan 2010, David Xu wrote: > Jeff Roberson wrote: >> Hello, >> >> I have been augmenting softupdates with a small journal that will be >> processed in lieu of fsck in the event of a crash. I have written some >> about this project here: http://jeffr_tech.livejournal.com/ >> >> For now I need volunteers who will attempt to crash the kernel code. It >> now passes fsx, fsstress, and stress2 on my box for many hours. pho@ has >> been helping me and may still have a bug or two but I need a wider audience >> so we can be comfortable with the stability. In a week or so I will also >> provide the checker. Until then a full fsck is required after a crash. > Great news, does it also handle crash of recovering procedure ? > For example, power off during recovering. The recovery procedure can be safely restarted. It evaluates the filesystem state for each entry in the log. It doesn't blindly apply changes. It also only does writes at the end once all records have been processed. Since it only modifies inodes and superblocks it doesn't require a huge disk cache to make this possible. Thanks, Jeff > > Regards, > David Xu > From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 10:09:50 2010 Return-Path: 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 BB1E81065676; Sat, 9 Jan 2010 10:09:50 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 37C3B8FC13; Sat, 9 Jan 2010 10:09:50 +0000 (UTC) Received: by yxe1 with SMTP id 1so18792248yxe.3 for ; Sat, 09 Jan 2010 02:09:43 -0800 (PST) Received: by 10.100.243.22 with SMTP id q22mr632379anh.197.1263031783055; Sat, 09 Jan 2010 02:09:43 -0800 (PST) Received: from ?10.0.1.198? (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id 23sm22059654iwn.11.2010.01.09.02.09.41 (version=SSLv3 cipher=RC4-MD5); Sat, 09 Jan 2010 02:09:42 -0800 (PST) Date: Sat, 9 Jan 2010 00:12:29 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Alexander Motin In-Reply-To: <4B4851FE.2020907@FreeBSD.org> Message-ID: References: <4B4851FE.2020907@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-Current Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 10:09:50 -0000 On Sat, 9 Jan 2010, Alexander Motin wrote: > Hi. > > Jeff Roberson wrote: >> I have been augmenting softupdates with a small journal that will be >> processed in lieu of fsck in the event of a crash. I have written some >> about this project here: http://jeffr_tech.livejournal.com/ > > Sounds cool, but I have one question. Excuse my possible ignorance. > > I was looking for BIO_FLUSH consumers and haven't found UFS there. > Unbacked write caching probably can make SoftUpdates unreliable, but it > is bearable while foreground fsck is used. As I understand, journaled > recovery is more dependent on data coherency, and so needs either > unbacked write caching to be disabled, or BIO_FLUSH to be used in > respective points by FS code. Am I right? So what's about BIO_FLUSH? Softupdates definitely relies on proper disk ordering. People who want reliability in the face of power failure need to buy nice disks and buy battery backup systems. Many cheap disks lie about flush and this has bitten ZFS. SU+J will still work with foreground fsck if you want to be absolutely certain of your data in the event of a power outage. It would be possible to implement a flush barrier in between writing the journal and permitting the meta-data modifications, and again after metadata modifications and before journal free. SU+J would be more tolerant to out of order filesystem operations following the journal write than vanilla softupdates. However, I'm not sure how much it will help, and it is not part of my current plans. It is probably worthwhile to study further. Thanks, Jeff > > -- > Alexander Motin > From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 10:11:53 2010 Return-Path: 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 2605C1065670 for ; Sat, 9 Jan 2010 10:11:53 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id AC2698FC1D for ; Sat, 9 Jan 2010 10:11:52 +0000 (UTC) Received: by ewy5 with SMTP id 5so8872190ewy.14 for ; Sat, 09 Jan 2010 02:11:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=TP+NK4mH8zug6COWdJLEVxsdb7RdkHEJF8L5MMMMomY=; b=mQnEJX6UMtjDd3wOnXGidBASdk4EHzCwksFMBnKuZ2PYPJozzt03A7AaUFWL9umN1p cpMl25Yd6bbI3xvT5LMhLT10I8lCnlS9sARaNEltJbeHendhRUvU6oHFtSj0qYJY0hJW oK8f465aj8KpQnMh2Y/9GE2D/vg87neVvEOug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bbkFfIDCP10JyQlGDrw8AjlE6Cg6eUSOaSHeL6pBDmoXNNh+oToKHhea3i7FliD0wg EKgLA961B8xN6Hko6zC4TNduy+7yFg6G0ryW8fEGvFenC2+6Qx8DRlUnP7o1o21tmKJh PW+n3z0kMXgTlAUZM9TeVBwWUcUEX0BQ+f0TQ= MIME-Version: 1.0 Received: by 10.213.1.205 with SMTP id 13mr544804ebg.50.1263031905074; Sat, 09 Jan 2010 02:11:45 -0800 (PST) In-Reply-To: <20100108234828.GA55025@office.redwerk.com> References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001041113q104d8ddexcaf483bf46500dc1@mail.gmail.com> <20100108234828.GA55025@office.redwerk.com> Date: Sat, 9 Jan 2010 11:11:43 +0100 Message-ID: <3a142e751001090211u51e3b902p38d3cd084015711a@mail.gmail.com> From: Paul B Mahol To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 10:11:53 -0000 On 1/9/10, Eugene Dzhurinsky wrote: > On Mon, Jan 04, 2010 at 08:13:57PM +0100, Paul B Mahol wrote: >> >> Could you please test code from here: >> >> http://gitorious.org/ndisulator >> > >> > Sorry, I'm not sure that I understand how to use that. Should I copy the >> > folders to /usr/src and rebuild world and kernel? >> >> Just use mount_nullfs, no need to change files. > > Hello, Paul! > > I've got the chance to play with the sources. What I've done: > > 1) copied folders into appropriate places of /usr/src Please do not copy, use mount_nullfs. > 2) built and installed ndis module > 3) built and installed if_ndis module > 4) built and installed ndiscvt executable > 5) generated athw_sys.ko module > 6) copied athw_sys.ko module into /boot/kernel Copy athw_sys.ko to /boot/modules instead, and run `kldxref /boot/modules`. > 7) rebooted Not really required. > 8) manually loaded ndis and if_ndis module (the latter was loaded > automatically by ndis as I realized) > 9) loaded athw_sys Use kldload instead. Loading module during boot have some unresolved problems. > 10) booted Not really required if you use kldload/kldunload. > > and on initializing of ndis device kernel panic was detected on page read at > some address. What address, and where it happens. If your kernel have debug support then type bt at ddb prompt. And send output (in format you prefer: picture, textdump, output from `kgdb /boot/kernel /var/crash/vmcore`) On GENERIC kernels vmcore.X file should be generated. Do you have dupdev and dumpdir defined in rc.conf and is dumpdev swap device? You really need kernel with DDB, GDB ... > If I did something wrong, or I can provide you with some more information - > please let me know, what would you like me to send you (and how to get it). I really need more information to help you. -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 11:45:00 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81E561065672; Sat, 9 Jan 2010 11:45:00 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 05ACD8FC12; Sat, 9 Jan 2010 11:44:59 +0000 (UTC) Received: from daedalus.network.local (gprs50.swisscom-mobile.ch [193.247.250.50]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o09BivKB025963 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 9 Jan 2010 11:44:58 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4B486C88.5030206@FreeBSD.org> Date: Sat, 09 Jan 2010 12:46:16 +0100 From: Beat Gaetzi User-Agent: Thunderbird 2.0.0.23 (X11/20090821) MIME-Version: 1.0 To: David Southwell References: <20091227232425.GA38213@bsdcrew.de> <4B38E4AA.9020000@FreeBSD.org> <4B38E9CA.8060305@h3q.com> <200912291221.43576.david@vizion2000.net> In-Reply-To: <200912291221.43576.david@vizion2000.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, freebsd-emulation@FreeBSD.org, current@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 11:45:00 -0000 David Southwell wrote: >> Beat Gaetzi wrote: >>> Philipp Wuensche wrote: >>>> Martin Wilke wrote: >>>>> Please report any functionality which was working with previous >>>>> versions of VirtualBox and no longer working with 3.1.2 or any build >>>>> failure. >>>> Seem like the fix from >>>> http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/virtualbox/files/p >>>> atch-src-VBox-HostDrivers-VBoxNetAdp-freebsd-VBoxNetAdp-freebsd.c was not >>>> incorporated?! >>> This fix is also included in 3.1.2: >>> http://svn.bluelife.at/index.cgi/blueports/revision/?rev=580 >> Interesting, I have to load the modules in the correct order, otherwise >> I get this error in the VBox.log: [..] > Any chance of being able to run snow leopard in an openbox environment? No, OS X is not supported. Please take a look at http://www.virtualbox.org/wiki/Guest_OSes for supported guest OSes in VirtualBox. Beat From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 12:27:00 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85394106566B; Sat, 9 Jan 2010 12:27:00 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 007008FC18; Sat, 9 Jan 2010 12:26:59 +0000 (UTC) Received: from daedalus.network.local (gprs50.swisscom-mobile.ch [193.247.250.50]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o09CQv3d040369 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 9 Jan 2010 12:26:58 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4B487661.2050505@FreeBSD.org> Date: Sat, 09 Jan 2010 13:28:17 +0100 From: Beat Gaetzi User-Agent: Thunderbird 2.0.0.23 (X11/20090821) MIME-Version: 1.0 To: Daichi GOTO References: <4B4225D9.9050504@FreeBSD.org> <4B440D6E.1070809@freebsd.org> In-Reply-To: <4B440D6E.1070809@freebsd.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org, current@FreeBSD.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 12:27:00 -0000 Hi, Daichi GOTO wrote: > Thanks great works! Beat and FreeBSD Vbox Team! > > I have been trying to test VirtualBox 3.1.2 for FreeBSD > (take 2) in these days. This is my test report. Thanks a lot for the extensive testing. > Conclusion: > > If you want to use X.org and seamless mouse, you should choose > one of follow settings: > > - "AllowInputEmpty" "off", /dev/sysmouse and moused(8) working > - "AllowInputEmpty" "on", hald working, dbus working and moused(8) off This findings are very interesting. Would you like to update the wiki page with this results? > Discussion and Issues: > I cannot get host-guest clipboard share working. Does someone > get it? No, the clipboard sharing is not working at the moment. > (*1) work log: > # uname -a > FreeBSD .ongs.co.jp 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0 > r200761: Mon Dec 21 12:57:07 UTC 2009 > root@parancell-freebsd80-amd64.ongs.co.jp:/usr/obj/usr/src/sys/PARANCELL > amd64 > # cd /usr/ports/emulators/virtualbox-ose-additions/ > # make install clean > ===> Vulnerability check disabled, database not found > ===> Extracting for virtualbox-ose-additions-3.1.51.r25618 > => MD5 Checksum OK for VirtualBox-3.1.51r25618-OSE.tar.bz2. > => SHA256 Checksum OK for VirtualBox-3.1.51r25618-OSE.tar.bz2. > ===> Patching for virtualbox-ose-additions-3.1.51.r25618 > ===> Applying FreeBSD patches for > virtualbox-ose-additions-3.1.51.r25618 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to > src/VBox/Additions/x11/VBoxClient/Makefile.kmk.rej > => Patch patch-src-VBox-Additions-x11-VBoxClient-Makefile.kmk failed > to apply cleanly. > => Patch(es) patch-src-VBox-Additions-freebsd-Makefile.kmk applied > cleanly. > *** Error code 1 > > Stop in /usr/ports/emulators/virtualbox-ose-additions. > # Unfortunately I'm not able to reproduce this problem. Could you please checkout our svn version of the guest additions ports and try it again: # svn co http://svn.bluelife.at/projects/blueports/emulators/virtualbox-ose-additions Many Thanks, Beat From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 14:47:35 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72D19106566B; Sat, 9 Jan 2010 14:47:35 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id E53B88FC12; Sat, 9 Jan 2010 14:47:34 +0000 (UTC) Received: from daedalus.network.local (gprs50.swisscom-mobile.ch [193.247.250.50]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o09ElWan066410 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 9 Jan 2010 14:47:33 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4B489753.6090904@FreeBSD.org> Date: Sat, 09 Jan 2010 15:48:51 +0100 From: Beat Gaetzi User-Agent: Thunderbird 2.0.0.23 (X11/20090821) MIME-Version: 1.0 To: Daichi GOTO References: <4B4225D9.9050504@FreeBSD.org> <4B440D6E.1070809@freebsd.org> <4B487661.2050505@FreeBSD.org> In-Reply-To: <4B487661.2050505@FreeBSD.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org, current@FreeBSD.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD (take 2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 14:47:35 -0000 Beat Gaetzi wrote: > Daichi GOTO wrote: >> Discussion and Issues: >> I cannot get host-guest clipboard share working. Does someone >> get it? > > No, the clipboard sharing is not working at the moment. I just recognized that this is not correct. Clipboard sharing works if you start "VBoxClient --clipboard" in the guest and copy something with "Ctrl + C" in the host or the guest. Beat From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 15:31:26 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6559D1065679 for ; Sat, 9 Jan 2010 15:31:26 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:198:206::1]) by mx1.freebsd.org (Postfix) with ESMTP id CC9F78FC1E for ; Sat, 9 Jan 2010 15:31:25 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id o09FVNj4093886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 9 Jan 2010 16:31:23 +0100 (CET) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id o09FVNWJ093885 for current@freebsd.org; Sat, 9 Jan 2010 16:31:23 +0100 (CET) (envelope-from uqs@spoerlein.net) Date: Sat, 9 Jan 2010 16:31:23 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: current@freebsd.org Message-ID: <20100109153123.GD52442@acme.spoerlein.net> Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Clang Static Analyzer runs on the FreeBSD source code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 15:31:26 -0000 Dear all, as you may know the LLVM/clang project is also working on static code analysis [1] and they provide a very early, very alpha version of their checker. For a couple of weeks now, I'm running these scans on the FreeBSD head source code which spews out lots of "errors" and false positives, but occasionally it uncovers a real bug. The curious might want to take a peek at [2] and peruse the long list (~7000 for buildworld, ~1300 for buildkernel) of (false) positives. Cheers, Uli PS: what happened to the Coverity runs on FreeBSD? [1] http://clang-analyzer.llvm.org/ [2] https://www.spoerlein.net/scan-build/ From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 15:36:13 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77E041065670; Sat, 9 Jan 2010 15:36:13 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB708FC12; Sat, 9 Jan 2010 15:36:12 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 33D5634D449; Sat, 9 Jan 2010 15:36:10 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Sat, 9 Jan 2010 15:36:10 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) References: <20091227232425.GA38213@bsdcrew.de> <4B486C88.5030206@FreeBSD.org> <201001091522.51805.david@vizion2000.net> In-Reply-To: <201001091522.51805.david@vizion2000.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201001091536.10136.david@vizion2000.net> Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, Beat Gaetzi , current@freebsd.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 15:36:13 -0000 > > David Southwell wrote: > > >> Beat Gaetzi wrote: > > >>> Philipp Wuensche wrote: > > >>>> Martin Wilke wrote: > > >>>>> Please report any functionality which was working with previous > > >>>>> versions of VirtualBox and no longer working with 3.1.2 or any > > >>>>> build failure. > > >>>> > > >>>> Seem like the fix from > > >>>> http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/virtualbox/fil > > >>>>es /p > > >>>> atch-src-VBox-HostDrivers-VBoxNetAdp-freebsd-VBoxNetAdp-freebsd.c > > >>>> was not incorporated?! > > >>> > > >>> This fix is also included in 3.1.2: > > >>> http://svn.bluelife.at/index.cgi/blueports/revision/?rev=580 > > >> > > >> Interesting, I have to load the modules in the correct order, > > >> otherwise I get this error in the VBox.log: > > > > [..] > > > > > Any chance of being able to run snow leopard in an openbox environment? > > > > No, OS X is not supported. Please take a look at > > http://www.virtualbox.org/wiki/Guest_OSes for supported guest OSes in > > VirtualBox. > > > > Beat > > I had seen that but wondered if anyone was working on reducing the > deficit!! > > David Incidentally the following link might be a starting point for anyone who might be interested in hacking a system with the aim of producing a snow-leopard- freeBSD: http://lifehacker.com/5351485/how-to-build-a-hackintosh-with-snow-leopard- start-to-finish Could this article provide a clue. David From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 15:22:55 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36C1B1065670; Sat, 9 Jan 2010 15:22:55 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id DB70E8FC19; Sat, 9 Jan 2010 15:22:54 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id E255834D449; Sat, 9 Jan 2010 15:22:51 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: Beat Gaetzi Date: Sat, 9 Jan 2010 15:22:51 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) References: <20091227232425.GA38213@bsdcrew.de> <200912291221.43576.david@vizion2000.net> <4B486C88.5030206@FreeBSD.org> In-Reply-To: <4B486C88.5030206@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201001091522.51805.david@vizion2000.net> X-Mailman-Approved-At: Sat, 09 Jan 2010 16:07:22 +0000 Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 15:22:55 -0000 > David Southwell wrote: > >> Beat Gaetzi wrote: > >>> Philipp Wuensche wrote: > >>>> Martin Wilke wrote: > >>>>> Please report any functionality which was working with previous > >>>>> versions of VirtualBox and no longer working with 3.1.2 or any build > >>>>> failure. > >>>> > >>>> Seem like the fix from > >>>> http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/virtualbox/files > >>>>/p atch-src-VBox-HostDrivers-VBoxNetAdp-freebsd-VBoxNetAdp-freebsd.c > >>>> was not incorporated?! > >>> > >>> This fix is also included in 3.1.2: > >>> http://svn.bluelife.at/index.cgi/blueports/revision/?rev=580 > >> > >> Interesting, I have to load the modules in the correct order, otherwise > >> I get this error in the VBox.log: > > [..] > > > Any chance of being able to run snow leopard in an openbox environment? > > No, OS X is not supported. Please take a look at > http://www.virtualbox.org/wiki/Guest_OSes for supported guest OSes in > VirtualBox. > > Beat > I had seen that but wondered if anyone was working on reducing the deficit!! David From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 16:39:27 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4567106568D for ; Sat, 9 Jan 2010 16:39:27 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 36CDE8FC18 for ; Sat, 9 Jan 2010 16:39:26 +0000 (UTC) Received: by ewy5 with SMTP id 5so9089711ewy.14 for ; Sat, 09 Jan 2010 08:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=6aOeP86NAplIh/TvgEoAm3BcuQsbpI6Eenk4Siji+eM=; b=BvscZCAZi0+Zhe8tnKwFXDuAToBcqME0qdZG4xPQZ3IQ6U5qdwTySzZsBzG4xCfwbR zpbZ0Tvy6dknJTcKRjxe7x3GMLsFqEwIDzdCl2dyeIxOE3GdBIJ6G0v5MnN/xPdfzKdz hl38A7fKRX/UeZjdhgHv3DYlKfFyvNXQ1kF4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=e//FOJ32ucN2dRTdARro+kC1q4fn7dy3//TCpEyC+s2n0WCQfH5ShRWyttCmW0vQCZ v+tYVVsfaQ7Ui11gwftkstjWqG54ha82RZJR2eQNPvqI4ryUn1q/xeQKEvJkj4DCCGfE 19O7aRwGoaXksAbLYRY0nOGe6uz8QTlhDSN0I= MIME-Version: 1.0 Received: by 10.213.106.202 with SMTP id y10mr899116ebo.35.1263055158447; Sat, 09 Jan 2010 08:39:18 -0800 (PST) In-Reply-To: <20100109153123.GD52442@acme.spoerlein.net> References: <20100109153123.GD52442@acme.spoerlein.net> Date: Sat, 9 Jan 2010 17:39:18 +0100 Message-ID: <3a142e751001090839x4c20e883read1767c5ae66615@mail.gmail.com> From: Paul B Mahol To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Clang Static Analyzer runs on the FreeBSD source code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 16:39:27 -0000 On 1/9/10, Ulrich Spoerlein wrote: > Dear all, > > as you may know the LLVM/clang project is also working on static code > analysis [1] and they provide a very early, very alpha version of their > checker. > > For a couple of weeks now, I'm running these scans on the FreeBSD head > source code which spews out lots of "errors" and false positives, but > occasionally it uncovers a real bug. > > The curious might want to take a peek at [2] and peruse the long list > (~7000 for buildworld, ~1300 for buildkernel) of (false) positives. > > Cheers, > Uli > > PS: what happened to the Coverity runs on FreeBSD? > > [1] http://clang-analyzer.llvm.org/ > [2] https://www.spoerlein.net/scan-build/ > _______________________________________________ Why is kernel build with NO_MODULES ? Code in modules but not in GENERIC is ignored. -- Paul B Mahol From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 16:42:23 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 494011065696 for ; Sat, 9 Jan 2010 16:42:23 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:198:206::1]) by mx1.freebsd.org (Postfix) with ESMTP id C3BC58FC1D for ; Sat, 9 Jan 2010 16:42:22 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id o09GgLQ9094768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Jan 2010 17:42:21 +0100 (CET) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id o09GgLtg094767; Sat, 9 Jan 2010 17:42:21 +0100 (CET) (envelope-from uqs@spoerlein.net) Date: Sat, 9 Jan 2010 17:42:21 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Paul B Mahol Message-ID: <20100109164221.GE52442@acme.spoerlein.net> Mail-Followup-To: Paul B Mahol , current@freebsd.org References: <20100109153123.GD52442@acme.spoerlein.net> <3a142e751001090839x4c20e883read1767c5ae66615@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a142e751001090839x4c20e883read1767c5ae66615@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: current@freebsd.org Subject: Re: Clang Static Analyzer runs on the FreeBSD source code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 16:42:23 -0000 On Sat, 09.01.2010 at 17:39:18 +0100, Paul B Mahol wrote: > On 1/9/10, Ulrich Spoerlein wrote: > > Dear all, > > > > as you may know the LLVM/clang project is also working on static code > > analysis [1] and they provide a very early, very alpha version of their > > checker. > > > > For a couple of weeks now, I'm running these scans on the FreeBSD head > > source code which spews out lots of "errors" and false positives, but > > occasionally it uncovers a real bug. > > > > The curious might want to take a peek at [2] and peruse the long list > > (~7000 for buildworld, ~1300 for buildkernel) of (false) positives. > > > > Cheers, > > Uli > > > > PS: what happened to the Coverity runs on FreeBSD? > > > > [1] http://clang-analyzer.llvm.org/ > > [2] https://www.spoerlein.net/scan-build/ > > _______________________________________________ > > > Why is kernel build with NO_MODULES ? > Code in modules but not in GENERIC is ignored. Thanks for pointing this out. This was initially done to cut down the runtime, but since I got faster hardware I will turn modules on for the next scan. Perhaps adding LINT would give even more coverage ... Regards, Uli From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 23:53:50 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BA82106568B for ; Sat, 9 Jan 2010 23:53:50 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id BB56F8FC0C for ; Sat, 9 Jan 2010 23:53:49 +0000 (UTC) Received: by ewy5 with SMTP id 5so9331873ewy.14 for ; Sat, 09 Jan 2010 15:53:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=TxccXaIq4/ENs5usVCmbYiNJot4SjSv041Q8SJkTdqU=; b=VE6fU0VOKbWKL+sX9nMwcej4PTNNxfjunXCI/jX8/4X7bfIVohIZxTM6ZIvyz94rFk 7nRHAjZQlGB/lE15TSCK8UoMeBOT+oFYSq0UmSHRY5cyMAmDQ5ERzQDDwjSkSl9DGXka IKNqIFc01PuoW+l2A0eVhNqooM4BjmcaoxU2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ee7GjrZg5qyAOHwnx7ecGxLcHK7pCdjVCUgCDtRYQQNk3bxZqdhrng1fkfV6HrM/7+ zcs4PgPavIdoRwtiJo4okmPuhUY1l5djF9nhwgm+MortfxoRAIStzcnnZqIw+GJiCa+t JesPm7O80/rf4j7h4g5X0FwOtfkbjHV8pAno0= MIME-Version: 1.0 Received: by 10.213.1.205 with SMTP id 13mr1275534ebg.50.1263081225058; Sat, 09 Jan 2010 15:53:45 -0800 (PST) Date: Sun, 10 Jan 2010 00:53:44 +0100 Message-ID: <3a142e751001091553v3f39012ei3df66b2f7ec14b75@mail.gmail.com> From: Paul B Mahol To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: ataahci module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 23:53:50 -0000 Hi, Loading ataintel module from loader prompt will fail to load ataahci module. Looks like ata_ahci should be replaced with ata_ahci_ata for all such cases ... -- Paul B Mahol